diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-08 07:19:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:31 -0500 |
commit | ec7015840ad7a8cdc87f52367ffe9c0b0401d919 (patch) | |
tree | 4d0d7dc6f4ab1e364521a866e0150794d9739a28 /include/linux/mutex.h | |
parent | 9f741cb8fecef923cce1dff820ac6aa78c12d136 (diff) |
Remove fastcall from linux/include
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mutex.h')
-rw-r--r-- | include/linux/mutex.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 05c590352dd7..bc6da10ceee0 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h | |||
@@ -112,7 +112,7 @@ extern void __mutex_init(struct mutex *lock, const char *name, | |||
112 | * | 112 | * |
113 | * Returns 1 if the mutex is locked, 0 if unlocked. | 113 | * Returns 1 if the mutex is locked, 0 if unlocked. |
114 | */ | 114 | */ |
115 | static inline int fastcall mutex_is_locked(struct mutex *lock) | 115 | static inline int mutex_is_locked(struct mutex *lock) |
116 | { | 116 | { |
117 | return atomic_read(&lock->count) != 1; | 117 | return atomic_read(&lock->count) != 1; |
118 | } | 118 | } |
@@ -132,9 +132,9 @@ extern int __must_check mutex_lock_killable_nested(struct mutex *lock, | |||
132 | #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0) | 132 | #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0) |
133 | #define mutex_lock_killable(lock) mutex_lock_killable_nested(lock, 0) | 133 | #define mutex_lock_killable(lock) mutex_lock_killable_nested(lock, 0) |
134 | #else | 134 | #else |
135 | extern void fastcall mutex_lock(struct mutex *lock); | 135 | extern void mutex_lock(struct mutex *lock); |
136 | extern int __must_check fastcall mutex_lock_interruptible(struct mutex *lock); | 136 | extern int __must_check mutex_lock_interruptible(struct mutex *lock); |
137 | extern int __must_check fastcall mutex_lock_killable(struct mutex *lock); | 137 | extern int __must_check mutex_lock_killable(struct mutex *lock); |
138 | 138 | ||
139 | # define mutex_lock_nested(lock, subclass) mutex_lock(lock) | 139 | # define mutex_lock_nested(lock, subclass) mutex_lock(lock) |
140 | # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) | 140 | # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) |
@@ -145,7 +145,7 @@ extern int __must_check fastcall mutex_lock_killable(struct mutex *lock); | |||
145 | * NOTE: mutex_trylock() follows the spin_trylock() convention, | 145 | * NOTE: mutex_trylock() follows the spin_trylock() convention, |
146 | * not the down_trylock() convention! | 146 | * not the down_trylock() convention! |
147 | */ | 147 | */ |
148 | extern int fastcall mutex_trylock(struct mutex *lock); | 148 | extern int mutex_trylock(struct mutex *lock); |
149 | extern void fastcall mutex_unlock(struct mutex *lock); | 149 | extern void mutex_unlock(struct mutex *lock); |
150 | 150 | ||
151 | #endif | 151 | #endif |