diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-03-08 05:50:37 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-01 08:37:29 +0400 |
commit | d72944457bb7d5c4be43aa1b741cb93c69484c20 (patch) | |
tree | 637f0b44106a44e4cc56cd45c3de9ef172f4bb4f /arch/powerpc/include/asm/machdep.h | |
parent | 65e646ac509ff45e9f35e7fc1fea0d2b6723679f (diff) | |
download | linux-d72944457bb7d5c4be43aa1b741cb93c69484c20.tar.xz |
powerpc/smp: Add a smp_ops->bringup_up() done callback
This allows us to stop abusing smp_ops->setup_cpu() for cleanup
tasks that have to take place after the initial boot time CPU
bringup.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 578d3309e109..e4f01915fbb0 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -35,6 +35,7 @@ struct smp_ops_t { int (*probe)(void); void (*kick_cpu)(int nr); void (*setup_cpu)(int nr); + void (*bringup_done)(void); void (*take_timebase)(void); void (*give_timebase)(void); int (*cpu_disable)(void); |