diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-11-16 15:41:15 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 20:39:29 +1100 |
commit | 088df4d256227b3d927bb6ed57e66d138da0565c (patch) | |
tree | aba5648874cff0c517c286c79414026edc5d9534 /include | |
parent | 5873c9bdb05e9cc68ff4c45a192032a61f705067 (diff) |
[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')
-rw-r--r-- | include/asm-powerpc/rtas.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/rtas.h b/include/asm-powerpc/rtas.h index d34f9e1f242..5a0c136c041 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 */ |