aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/putuser_32.S13
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/x86/lib/putuser_32.S b/arch/x86/lib/putuser_32.S
index f58fba109d18..5b2a926f0e28 100644
--- a/arch/x86/lib/putuser_32.S
+++ b/arch/x86/lib/putuser_32.S
@@ -26,14 +26,8 @@
26 */ 26 */
27 27
28#define ENTER CFI_STARTPROC ; \ 28#define ENTER CFI_STARTPROC ; \
29 pushl %ebx ; \
30 CFI_ADJUST_CFA_OFFSET 4 ; \
31 CFI_REL_OFFSET ebx, 0 ; \
32 GET_THREAD_INFO(%ebx) 29 GET_THREAD_INFO(%ebx)
33#define EXIT popl %ebx ; \ 30#define EXIT ret ; \
34 CFI_ADJUST_CFA_OFFSET -4 ; \
35 CFI_RESTORE ebx ; \
36 ret ; \
37 CFI_ENDPROC 31 CFI_ENDPROC
38 32
39.text 33.text
@@ -81,10 +75,7 @@ ENTRY(__put_user_8)
81ENDPROC(__put_user_8) 75ENDPROC(__put_user_8)
82 76
83bad_put_user: 77bad_put_user:
84 CFI_STARTPROC simple 78 CFI_STARTPROC
85 CFI_DEF_CFA esp, 2*4
86 CFI_OFFSET eip, -1*4
87 CFI_OFFSET ebx, -2*4
88 movl $-14,%eax 79 movl $-14,%eax
89 EXIT 80 EXIT
90END(bad_put_user) 81END(bad_put_user)