summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-08-14 14:55:40 +0200
committerIngo Molnar <mingo@kernel.org>2013-09-25 14:07:50 +0200
commita787870924dbd6f321661e06d4ec1c7a408c9ccf (patch)
tree43aae13f34d21b001efd4a4a4e64f3d085988bad /arch/mips
parentsched: Add NEED_RESCHED to the preempt_count (diff)
downloadlinux-a787870924dbd6f321661e06d4ec1c7a408c9ccf.tar.xz
linux-a787870924dbd6f321661e06d4ec1c7a408c9ccf.zip
sched, arch: Create asm/preempt.h
In order to prepare to per-arch implementations of preempt_count move the required bits into an asm-generic header and use this for all archs. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-h5j0c1r3e3fk015m30h8f1zx@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild
index 454ddf9bb76f..1acbb8b77a71 100644
--- a/arch/mips/include/asm/Kbuild
+++ b/arch/mips/include/asm/Kbuild
@@ -11,5 +11,6 @@ generic-y += sections.h
generic-y += segment.h
generic-y += serial.h
generic-y += trace_clock.h
+generic-y += preempt.h
generic-y += ucontext.h
generic-y += xor.h