diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-14 09:42:24 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-14 09:42:24 -0400 |
commit | f5c781fccc56aae85f4232df5ee16cd3b27f8ccd (patch) | |
tree | 4a952658c0a168d2f7adf521af6b19275e0e8255 /arch | |
parent | 1d5e607b3ec430f15c563b888157a77adeac8f88 (diff) |
Remove old, unneeded ASM cruft.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/pi_sem_syscalls.c | 3 | ||||
-rw-r--r-- | arch/i386/lib/semaphore.S | 43 |
2 files changed, 0 insertions, 46 deletions
diff --git a/arch/i386/kernel/pi_sem_syscalls.c b/arch/i386/kernel/pi_sem_syscalls.c index 96479e98b3..66f79aa88a 100644 --- a/arch/i386/kernel/pi_sem_syscalls.c +++ b/arch/i386/kernel/pi_sem_syscalls.c | |||
@@ -47,9 +47,6 @@ asmlinkage long sys_pi_sema_init (void) | |||
47 | return -ENOMEM; | 47 | return -ENOMEM; |
48 | } | 48 | } |
49 | 49 | ||
50 | fastcall void __pi_down_failed(void /* special register calling convention */); | ||
51 | fastcall void __pi_up_wakeup(void /* special register calling convention */); | ||
52 | |||
53 | /* | 50 | /* |
54 | * This is ugly, but we want the default case to fall through. | 51 | * This is ugly, but we want the default case to fall through. |
55 | * "__down_failed" is a special asm handler that calls the C | 52 | * "__down_failed" is a special asm handler that calls the C |
diff --git a/arch/i386/lib/semaphore.S b/arch/i386/lib/semaphore.S index 5c8f8237a7..c01eb39c0b 100644 --- a/arch/i386/lib/semaphore.S +++ b/arch/i386/lib/semaphore.S | |||
@@ -114,49 +114,6 @@ ENTRY(__up_wakeup) | |||
114 | CFI_ENDPROC | 114 | CFI_ENDPROC |
115 | END(__up_wakeup) | 115 | END(__up_wakeup) |
116 | 116 | ||
117 | ENTRY(__pi_down_failed) | ||
118 | CFI_STARTPROC | ||
119 | FRAME | ||
120 | pushl %edx | ||
121 | CFI_ADJUST_CFA_OFFSET 4 | ||
122 | CFI_REL_OFFSET edx,0 | ||
123 | pushl %ecx | ||
124 | CFI_ADJUST_CFA_OFFSET 4 | ||
125 | CFI_REL_OFFSET ecx,0 | ||
126 | call __pi_down | ||
127 | popl %ecx | ||
128 | CFI_ADJUST_CFA_OFFSET -4 | ||
129 | CFI_RESTORE ecx | ||
130 | popl %edx | ||
131 | CFI_ADJUST_CFA_OFFSET -4 | ||
132 | CFI_RESTORE edx | ||
133 | ENDFRAME | ||
134 | ret | ||
135 | CFI_ENDPROC | ||
136 | END(__down_failed) | ||
137 | |||
138 | ENTRY(__pi_up_wakeup) | ||
139 | CFI_STARTPROC | ||
140 | FRAME | ||
141 | pushl %edx | ||
142 | CFI_ADJUST_CFA_OFFSET 4 | ||
143 | CFI_REL_OFFSET edx,0 | ||
144 | pushl %ecx | ||
145 | CFI_ADJUST_CFA_OFFSET 4 | ||
146 | CFI_REL_OFFSET ecx,0 | ||
147 | call __pi_up | ||
148 | popl %ecx | ||
149 | CFI_ADJUST_CFA_OFFSET -4 | ||
150 | CFI_RESTORE ecx | ||
151 | popl %edx | ||
152 | CFI_ADJUST_CFA_OFFSET -4 | ||
153 | CFI_RESTORE edx | ||
154 | ENDFRAME | ||
155 | ret | ||
156 | CFI_ENDPROC | ||
157 | END(__up_wakeup) | ||
158 | |||
159 | |||
160 | /* | 117 | /* |
161 | * rw spinlock fallbacks | 118 | * rw spinlock fallbacks |
162 | */ | 119 | */ |