aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King2005-11-02 21:51:40 +0000
committerRussell King2005-11-02 21:51:40 +0000
commit71f512e89704f5aa6fc0b97e4a719184080b8938 (patch)
tree91f855b3c03b9f1c5404e7901e6cb925e091004d /include
parent7e86df273292b3a88c14b9aed1006cddac2b4c23 (diff)
[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')
-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
};