summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-12 09:55:10 +0100
committerMichal Simek <monstr@monstr.eu>2010-03-11 14:07:32 +0100
commit777537905744c28b02c283692e7f75f5445c1afa (patch)
tree57cde0f7938efaf1eb54b69b9d149c867f714e2c /arch/microblaze/kernel/asm-offsets.c
parent733cc2183116b216abb52e709709bb0e626c9a75 (diff)
downloadblackbird-op-linux-777537905744c28b02c283692e7f75f5445c1afa.tar.gz
blackbird-op-linux-777537905744c28b02c283692e7f75f5445c1afa.zip
microblaze: Add support from PREEMPT
This patch add core PREEMPT support for Microblaze. I tried to trace it via tracers and I was able to see any output. I also added low level debug functions to see if that code is called. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/asm-offsets.c')
-rw-r--r--arch/microblaze/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/asm-offsets.c b/arch/microblaze/kernel/asm-offsets.c
index 7bc7b68f97db..0071260a672c 100644
--- a/arch/microblaze/kernel/asm-offsets.c
+++ b/arch/microblaze/kernel/asm-offsets.c
@@ -90,6 +90,7 @@ int main(int argc, char *argv[])
DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit));
DEFINE(TI_CPU_CONTEXT, offsetof(struct thread_info, cpu_context));
+ DEFINE(TI_PREEMPT_COUNT, offsetof(struct thread_info, preempt_count));
BLANK();
/* struct cpu_context */
OpenPOWER on IntegriCloud