diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
commit | 49a89efbbbcc178a39555c43bd59a7593c429664 (patch) | |
tree | 93ab78ec340d3f2fe23f9f853edd0bd62dcc64bb /include/asm-mips/semaphore.h | |
parent | 10cc3529072d5415fb040018a8a99aa7a60190b6 (diff) |
[MIPS] Fix "no space between function name and open parenthesis" warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/semaphore.h')
-rw-r--r-- | include/asm-mips/semaphore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/semaphore.h b/include/asm-mips/semaphore.h index 3d6aa7c7ea81..ea2413c58e78 100644 --- a/include/asm-mips/semaphore.h +++ b/include/asm-mips/semaphore.h | |||
@@ -51,18 +51,18 @@ struct semaphore { | |||
51 | #define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name, 1) | 51 | #define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name, 1) |
52 | #define DECLARE_MUTEX_LOCKED(name) __DECLARE_SEMAPHORE_GENERIC(name, 0) | 52 | #define DECLARE_MUTEX_LOCKED(name) __DECLARE_SEMAPHORE_GENERIC(name, 0) |
53 | 53 | ||
54 | static inline void sema_init (struct semaphore *sem, int val) | 54 | static inline void sema_init(struct semaphore *sem, int val) |
55 | { | 55 | { |
56 | atomic_set(&sem->count, val); | 56 | atomic_set(&sem->count, val); |
57 | init_waitqueue_head(&sem->wait); | 57 | init_waitqueue_head(&sem->wait); |
58 | } | 58 | } |
59 | 59 | ||
60 | static inline void init_MUTEX (struct semaphore *sem) | 60 | static inline void init_MUTEX(struct semaphore *sem) |
61 | { | 61 | { |
62 | sema_init(sem, 1); | 62 | sema_init(sem, 1); |
63 | } | 63 | } |
64 | 64 | ||
65 | static inline void init_MUTEX_LOCKED (struct semaphore *sem) | 65 | static inline void init_MUTEX_LOCKED(struct semaphore *sem) |
66 | { | 66 | { |
67 | sema_init(sem, 0); | 67 | sema_init(sem, 0); |
68 | } | 68 | } |