diff options
-rw-r--r-- | arch/x86/kernel/entry_32.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 6492555d123d..cb12b9bfc9cc 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -735,15 +735,15 @@ ptregs_##name: \ | |||
735 | ALIGN; \ | 735 | ALIGN; \ |
736 | ptregs_##name: \ | 736 | ptregs_##name: \ |
737 | leal 4(%esp),%edx; \ | 737 | leal 4(%esp),%edx; \ |
738 | movl PT_EBX(%edx),%eax; \ | 738 | movl (PT_EBX+4)(%esp),%eax; \ |
739 | jmp sys_##name; | 739 | jmp sys_##name; |
740 | 740 | ||
741 | #define PTREGSCALL2(name) \ | 741 | #define PTREGSCALL2(name) \ |
742 | ALIGN; \ | 742 | ALIGN; \ |
743 | ptregs_##name: \ | 743 | ptregs_##name: \ |
744 | leal 4(%esp),%ecx; \ | 744 | leal 4(%esp),%ecx; \ |
745 | movl PT_ECX(%ecx),%edx; \ | 745 | movl (PT_ECX+4)(%esp),%edx; \ |
746 | movl PT_EBX(%ecx),%eax; \ | 746 | movl (PT_EBX+4)(%esp),%eax; \ |
747 | jmp sys_##name; | 747 | jmp sys_##name; |
748 | 748 | ||
749 | #define PTREGSCALL3(name) \ | 749 | #define PTREGSCALL3(name) \ |