summaryrefslogtreecommitdiff
path: root/include/asm-arm/cpu.h
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/cpu.h
parent7e86df273292b3a88c14b9aed1006cddac2b4c23 (diff)
downloadlwn-71f512e89704f5aa6fc0b97e4a719184080b8938.tar.gz
lwn-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/cpu.h')
-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
};