aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-02 21:51:40 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-02 21:51:40 +0000
commit71f512e89704f5aa6fc0b97e4a719184080b8938 (patch)
tree91f855b3c03b9f1c5404e7901e6cb925e091004d /include/asm-arm
parent[ARM] Fix ARM rwlock implementations (diff)
downloadlinux-dev-71f512e89704f5aa6fc0b97e4a719184080b8938.tar.xz
linux-dev-71f512e89704f5aa6fc0b97e4a719184080b8938.zip
[ARM SMP] Track CPU idle threads
Track the idle thread task_struct for each CPU. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/cpu.h b/include/asm-arm/cpu.h
index fcbdd40cb667..751bc7462074 100644
--- a/include/asm-arm/cpu.h
+++ b/include/asm-arm/cpu.h
@@ -16,6 +16,7 @@
struct cpuinfo_arm {
struct cpu cpu;
#ifdef CONFIG_SMP
+ struct task_struct *idle;
unsigned int loops_per_jiffy;
#endif
};