summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman2006-12-05 07:52:37 +0100
committerPaul Mackerras2006-12-08 05:55:55 +0100
commit04da6af960194ecdee4c29cd3f86e766903418ca (patch)
tree310338d736b94f4665880aac81ef455873bb8c63 /include
parent[POWERPC] Move rtas_stop_self() into platforms/pseries/hotplug-cpu.c (diff)
downloadkernel-qcow2-linux-04da6af960194ecdee4c29cd3f86e766903418ca.tar.gz
kernel-qcow2-linux-04da6af960194ecdee4c29cd3f86e766903418ca.tar.xz
kernel-qcow2-linux-04da6af960194ecdee4c29cd3f86e766903418ca.zip
[POWERPC] Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c
Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c, this allows rtas_stop_self() to be static so remove the prototype. Wire up pSeries_mach_cpu_die() in the initcall, rather than statically in setup.c, the initcall will still run prior to the cpu hotplug code being callable, so there should be no change in behaviour. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/rtas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/rtas.h b/include/asm-powerpc/rtas.h
index 5a0c136c0416..031ef57fb195 100644
--- a/include/asm-powerpc/rtas.h
+++ b/include/asm-powerpc/rtas.h
@@ -221,8 +221,6 @@ extern int rtas_get_error_log_max(void);
extern spinlock_t rtas_data_buf_lock;
extern char rtas_data_buf[RTAS_DATA_BUF_SIZE];
-extern void rtas_stop_self(void);
-
/* RMO buffer reserved for user-space RTAS use */
extern unsigned long rtas_rmo_buf;