add prototype for down_try() to semaphore.h
PATCH 1/1 add prototype for down_try() to semaphore.h
I have needed this patch against the 29jul and 30jul mmotm to build.
Against: mmotm 080730-0356
Fix to patch linux-next.patch
Required to build.
Signed-off-by Lee Schermerhorn <[email protected]>
include/linux/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/semaphore.h +1 -1
@@ -42,7 +42,7 @@ static inline void sema_init(struct semaextern void down (struct semaphore *sem);extern int __must_check down_interruptible (struct semaphore *sem);extern int __must_check down_killable (struct semaphore *sem); -extern int __must_check down_trylock (struct semaphore *sem); +extern int __must_check down_try (struct semaphore *sem);extern int __must_check down_timeout (struct semaphore *sem,long jiffies);extern void up (struct semaphore *sem);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>