]> git.baikalelectronics.ru Git - kernel.git/commit
sched/s390: Fix compile error in sched/core.c
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 11 Jan 2012 07:58:16 +0000 (08:58 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jan 2012 18:38:11 +0000 (19:38 +0100)
commita53c79cc28ad7a7f676d96aab2a0169e449412fd
treef5aff59ae2c16cf4fe25f2bfa2bf76048e10fac3
parent2d74297dc436a258dc152054c9823ae02996ddf8
sched/s390: Fix compile error in sched/core.c

Commit 7bc803d4bf26e8694b2dfa16d2885c7e1457c3de ("sched: Make
separate sched*.c translation units") removed the include of
asm/mutex.h from sched.c.

This breaks the combination of:

 CONFIG_MUTEX_SPIN_ON_OWNER=yes
 CONFIG_HAVE_ARCH_MUTEX_CPU_RELAX=yes

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’

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

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1326268696-30904-1-git-send-email-borntraeger@de.ibm.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/core.c