aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2008-04-30 22:16:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-01 11:08:35 -0400
commita19325a77432338d2710b3ebbe7fd8e6627e81e3 (patch)
treeda28058ae14e32e2aeaebffd3c2eba2b31a7adda /arch/m68knommu/kernel/asm-offsets.c
parent2d7f16d6d12682c41fb287ea8261df8e4679f638 (diff)
m68knommu: ColdFire add support for kernel preemption
As the subject says this patch adds the support for kernel preemption on m68knommu Coldfire. I thing the same changes could be applied to 68360 & 68328 but since I don't have the HW for testing, I don't touch it. Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/kernel/asm-offsets.c')
-rw-r--r--arch/m68knommu/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c
index fd0c685a7f11..c785d07c02cc 100644
--- a/arch/m68knommu/kernel/asm-offsets.c
+++ b/arch/m68knommu/kernel/asm-offsets.c
@@ -87,6 +87,7 @@ int main(void)
87 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 87 DEFINE(TI_TASK, offsetof(struct thread_info, task));
88 DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain)); 88 DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain));
89 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 89 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
90 DEFINE(TI_PREEMPTCOUNT, offsetof(struct thread_info, preempt_count));
90 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 91 DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
91 92
92 return 0; 93 return 0;