summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/rtas.h
diff options
context:
space:
mode:
authorLinas Vepstas2006-11-16 22:41:15 +0100
committerPaul Mackerras2006-12-04 10:39:29 +0100
commit088df4d256227b3d927bb6ed57e66d138da0565c (patch)
treeaba5648874cff0c517c286c79414026edc5d9534 /include/asm-powerpc/rtas.h
parent[POWERPC] Make pci_read_irq_line the default on mpc7448hpc2 board (diff)
downloadkernel-qcow2-linux-088df4d256227b3d927bb6ed57e66d138da0565c.tar.gz
kernel-qcow2-linux-088df4d256227b3d927bb6ed57e66d138da0565c.tar.xz
kernel-qcow2-linux-088df4d256227b3d927bb6ed57e66d138da0565c.zip
[POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU
Per email discussion, it appears that rtas_stop_self() and pSeries_mach_cpu_die() should not be compiled if CONFIG_HOTPLUG_CPU is not defined. This patch adds #ifdefs around these bits of code. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/rtas.h')
-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 d34f9e1f242c..5a0c136c0416 100644
--- a/include/asm-powerpc/rtas.h
+++ b/include/asm-powerpc/rtas.h
@@ -54,8 +54,6 @@ struct rtas_args {
rtas_arg_t *rets; /* Pointer to return values in args[]. */
};
-extern struct rtas_args rtas_stop_self_args;
-
struct rtas_t {
unsigned long entry; /* physical address pointer */
unsigned long base; /* physical address pointer */