|
@@ -84,13 +84,13 @@ ENTRY(entry_SYSENTER_compat)
|
|
|
pushq %rdx /* pt_regs->dx */
|
|
|
pushq %rcx /* pt_regs->cx */
|
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
|
- pushq %r8 /* pt_regs->r8 */
|
|
|
+ pushq $0 /* pt_regs->r8 = 0 */
|
|
|
xorl %r8d, %r8d /* nospec r8 */
|
|
|
- pushq %r9 /* pt_regs->r9 */
|
|
|
+ pushq $0 /* pt_regs->r9 = 0 */
|
|
|
xorl %r9d, %r9d /* nospec r9 */
|
|
|
- pushq %r10 /* pt_regs->r10 */
|
|
|
+ pushq $0 /* pt_regs->r10 = 0 */
|
|
|
xorl %r10d, %r10d /* nospec r10 */
|
|
|
- pushq %r11 /* pt_regs->r11 */
|
|
|
+ pushq $0 /* pt_regs->r11 = 0 */
|
|
|
xorl %r11d, %r11d /* nospec r11 */
|
|
|
pushq %rbx /* pt_regs->rbx */
|
|
|
xorl %ebx, %ebx /* nospec rbx */
|
|
@@ -374,13 +374,13 @@ ENTRY(entry_INT80_compat)
|
|
|
pushq %rcx /* pt_regs->cx */
|
|
|
xorl %ecx, %ecx /* nospec cx */
|
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
|
- pushq $0 /* pt_regs->r8 = 0 */
|
|
|
+ pushq %r8 /* pt_regs->r8 */
|
|
|
xorl %r8d, %r8d /* nospec r8 */
|
|
|
- pushq $0 /* pt_regs->r9 = 0 */
|
|
|
+ pushq %r9 /* pt_regs->r9 */
|
|
|
xorl %r9d, %r9d /* nospec r9 */
|
|
|
- pushq $0 /* pt_regs->r10 = 0 */
|
|
|
+ pushq %r10 /* pt_regs->r10*/
|
|
|
xorl %r10d, %r10d /* nospec r10 */
|
|
|
- pushq $0 /* pt_regs->r11 = 0 */
|
|
|
+ pushq %r11 /* pt_regs->r11 */
|
|
|
xorl %r11d, %r11d /* nospec r11 */
|
|
|
pushq %rbx /* pt_regs->rbx */
|
|
|
xorl %ebx, %ebx /* nospec rbx */
|