]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cell: Fix compile error in ras.c
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 2 Nov 2008 10:21:57 +0000 (10:21 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 5 Nov 2008 08:59:08 +0000 (19:59 +1100)
commit3b5511f611ff753db705a7d921023e2a19d40cc2
tree01ba7105f2f3b0891cf7eb4ef54e01efede14ca6
parentd02846fd7d7b63361d50fbdd32eb9f7582bc4e83
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>
arch/powerpc/platforms/cell/ras.c