public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix wait_for_completion_interruptible declaration mismatch
@ 2007-10-12 16:44 Jeff Dike
  2007-10-22  8:33 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Dike @ 2007-10-12 16:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

Without the fastcall, I get a declaration mismatch between the
definition here and the declaration in completion.h.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
 kernel/sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.22/kernel/sched.c
===================================================================
--- linux-2.6.22.orig/kernel/sched.c	2007-10-12 12:23:57.000000000 -0400
+++ linux-2.6.22/kernel/sched.c	2007-10-12 12:36:39.000000000 -0400
@@ -3789,7 +3789,7 @@ wait_for_completion_timeout(struct compl
 }
 EXPORT_SYMBOL(wait_for_completion_timeout);
 
-int __sched wait_for_completion_interruptible(struct completion *x)
+int fastcall __sched wait_for_completion_interruptible(struct completion *x)
 {
 	return wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-22  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12 16:44 [PATCH] Fix wait_for_completion_interruptible declaration mismatch Jeff Dike
2007-10-22  8:33 ` Ingo Molnar

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