[lkml]   [2012]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] sched/s390: fix compile error in sched/core.c
From: Christian Borntraeger <>

commit 029632fbb7b7c9d85063cc9eb470de6c54873df3
sched: Make separate sched*.c translation units

removed the include of asm/mutex.h from sched.c. This breaks the combination of

like s390 without mutex debugging:

CC kernel/sched/core.o
kernel/sched/core.c: In function ‘mutex_spin_on_owner’:
kernel/sched/core.c:3287: error: implicit declaration of function ‘arch_mutex_cpu_relax’
make[2]: *** [kernel/sched/core.o] Error 1

Lets re-add the include to kernel/sched/core.c

Signed-off-by: Christian Borntraeger <>
kernel/sched/core.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index cecbb64..f82efdc 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -74,6 +74,9 @@

#include <asm/tlb.h>
#include <asm/irq_regs.h>
+#include <asm/mutex.h>
#include <asm/paravirt.h>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-01-11 09:01    [W:0.055 / U:4.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site