summaryrefslogtreecommitdiffstats
path: root/arch/c6x
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/c6x
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/c6x')
-rw-r--r--arch/c6x/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild
index e49f918531ad..fc0b3c356027 100644
--- a/arch/c6x/include/asm/Kbuild
+++ b/arch/c6x/include/asm/Kbuild
@@ -56,3 +56,4 @@ generic-y += ucontext.h
generic-y += user.h
generic-y += vga.h
generic-y += xor.h
+generic-y += preempt.h