summaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-01-27 12:38:16 -0500
committerIngo Molnar <mingo@kernel.org>2017-02-01 11:01:29 +0100
commit733ce725aa4bfa9063be053bfe7f4597d76f0dd1 (patch)
tree9a07ccda42180c1725cc7eab9999807c16aa97d9 /kernel/sched/rt.c
parentb672592f022152155fde7db99aafbcf04a2c3ba5 (diff)
downloadlinux-733ce725aa4bfa9063be053bfe7f4597d76f0dd1.tar.gz
linux-733ce725aa4bfa9063be053bfe7f4597d76f0dd1.tar.bz2
linux-733ce725aa4bfa9063be053bfe7f4597d76f0dd1.zip
sched/clock: Add dummy clear_sched_clock_stable() stub function
In commit: acb04058de494 ("sched/clock: Fix hotplug crash") the PARISC code gained a call to this function. However the prototype for it is within a CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y #ifdef/#endif. That, combined with this: arch/parisc/Kconfig: select HAVE_UNSTABLE_SCHED_CLOCK if SMP means that PARISC can have it either enabled or disabled, resulting in the following build fail: arch/parisc/kernel/setup.c:180:2: error: implicit declaration of function 'clear_sched_clock_stable' [-Werror=implicit-function-declaration] Add a no-op stub for the non-SMP case to prevent this. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: acb04058de49 ("sched/clock: Fix hotplug crash") Link: http://lkml.kernel.org/r/20170127173816.22733-1-paul.gortmaker@windriver.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/rt.c')
0 files changed, 0 insertions, 0 deletions