diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-04-26 11:59:47 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-04-26 11:59:47 +0200 |
commit | 8db2bc4559639680a94d4492ae4b7ce71298a74f (patch) | |
tree | 568526fbfb22eea6e4a94748425fe1ccfd5f0a29 /arch/sh/include | |
parent | sh: flag smp_store_cpu_info() __cpuinit. (diff) | |
download | linux-8db2bc4559639680a94d4492ae4b7ce71298a74f.tar.xz linux-8db2bc4559639680a94d4492ae4b7ce71298a74f.zip |
sh: cache secondary CPUs idle loop.
This provides a cache of the secondary CPUs idle loop for the cases where
hotplug simply enters a low power state instead of resetting or powering
off the core.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 26b3f026eec9..0a58cb25a658 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h @@ -85,6 +85,10 @@ struct sh_cpuinfo { struct tlb_info itlb; struct tlb_info dtlb; +#ifdef CONFIG_SMP + struct task_struct *idle; +#endif + unsigned long flags; } __attribute__ ((aligned(L1_CACHE_BYTES))); |