diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-02-14 01:55:14 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-15 22:00:20 -0500 |
commit | 2333eae215442768478d7661d372ff017e3f0151 (patch) | |
tree | 54112c5f9b5f327e04b9167b31edf5de7e82d221 | |
parent | 0f9ec0a828565c4d2dcb01ce6af824c001396357 (diff) |
[POWERPC] celleb: fix CONFIG_KEXEC dependency
celleb_kexec_cpu_down() depends on CONFIG_KEXEC.
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/celleb/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/setup.c b/arch/powerpc/platforms/celleb/setup.c index 1de63acfda87..5f4d0d933238 100644 --- a/arch/powerpc/platforms/celleb/setup.c +++ b/arch/powerpc/platforms/celleb/setup.c | |||
@@ -137,10 +137,12 @@ static int celleb_check_legacy_ioport(unsigned int baseport) | |||
137 | return -ENODEV; | 137 | return -ENODEV; |
138 | } | 138 | } |
139 | 139 | ||
140 | #ifdef CONFIG_KEXEC | ||
140 | static void celleb_kexec_cpu_down(int crash, int secondary) | 141 | static void celleb_kexec_cpu_down(int crash, int secondary) |
141 | { | 142 | { |
142 | beatic_deinit_IRQ(); | 143 | beatic_deinit_IRQ(); |
143 | } | 144 | } |
145 | #endif | ||
144 | 146 | ||
145 | static struct of_device_id celleb_bus_ids[] = { | 147 | static struct of_device_id celleb_bus_ids[] = { |
146 | { .type = "scc", }, | 148 | { .type = "scc", }, |