linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add prototype for down_try() to semaphore.h
@ 2008-07-30 16:11 Lee Schermerhorn
  0 siblings, 0 replies; only message in thread
From: Lee Schermerhorn @ 2008-07-30 16:11 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, rusty

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 <lee.schermerhorn@hp.com>

 include/linux/semaphore.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.26/include/linux/semaphore.h
===================================================================
--- linux-2.6.26.orig/include/linux/semaphore.h	2008-07-29 13:00:43.000000000 -0400
+++ linux-2.6.26/include/linux/semaphore.h	2008-07-29 13:17:26.000000000 -0400
@@ -42,7 +42,7 @@ static inline void sema_init(struct sema
 extern 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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-30 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-30 16:11 [PATCH] add prototype for down_try() to semaphore.h Lee Schermerhorn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox