diff options
Diffstat (limited to 'include/asm-x86/semaphore_32.h')
-rw-r--r-- | include/asm-x86/semaphore_32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/semaphore_32.h b/include/asm-x86/semaphore_32.h index cc826e85323f..ac96d3804d0c 100644 --- a/include/asm-x86/semaphore_32.h +++ b/include/asm-x86/semaphore_32.h | |||
@@ -83,10 +83,10 @@ static inline void init_MUTEX_LOCKED (struct semaphore *sem) | |||
83 | sema_init(sem, 0); | 83 | sema_init(sem, 0); |
84 | } | 84 | } |
85 | 85 | ||
86 | void __down_failed(void /* special register calling convention */); | 86 | extern asmregparm void __down_failed(atomic_t *count_ptr); |
87 | int __down_failed_interruptible(void /* params in registers */); | 87 | extern asmregparm int __down_failed_interruptible(atomic_t *count_ptr); |
88 | int __down_failed_trylock(void /* params in registers */); | 88 | extern asmregparm int __down_failed_trylock(atomic_t *count_ptr); |
89 | void __up_wakeup(void /* special register calling convention */); | 89 | extern asmregparm void __up_wakeup(atomic_t *count_ptr); |
90 | 90 | ||
91 | /* | 91 | /* |
92 | * This is ugly, but we want the default case to fall through. | 92 | * This is ugly, but we want the default case to fall through. |