diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-02 05:21:57 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2008-11-05 03:59:08 -0500 |
| commit | 9c8b4aff18b59cd0c2d9a77b3df1f9d7077df90c (patch) | |
| tree | 01ba7105f2f3b0891cf7eb4ef54e01efede14ca6 | |
| parent | fce4d58353e449a1ac637fc8d2b994e0fcc55312 (diff) | |
powerpc/cell: Fix compile error in ras.c
This fixes this error on Cell when CONFIG_KEXEC = n:
arch/powerpc/platforms/cell/ras.c:299: error: implicit declaration of function 'crash_shutdown_register'
We have to include <asm/kexec.h> because it contains the dummy
definition of crash_shutdown_register that is used when
CONFIG_KEXEC=n, but <linux/kexec.h> doesn't include <asm/kexec.h> in
that case.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
| -rw-r--r-- | arch/powerpc/platforms/cell/ras.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/ras.c b/arch/powerpc/platforms/cell/ras.c index fdf088f2430e..7b4cefa2199b 100644 --- a/arch/powerpc/platforms/cell/ras.c +++ b/arch/powerpc/platforms/cell/ras.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/kexec.h> | 16 | #include <linux/kexec.h> |
| 17 | #include <linux/crash_dump.h> | 17 | #include <linux/crash_dump.h> |
| 18 | 18 | ||
| 19 | #include <asm/kexec.h> | ||
| 19 | #include <asm/reg.h> | 20 | #include <asm/reg.h> |
| 20 | #include <asm/io.h> | 21 | #include <asm/io.h> |
| 21 | #include <asm/prom.h> | 22 | #include <asm/prom.h> |
