diff options
author | Olof Johansson <olof@lixom.net> | 2008-01-31 04:34:47 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-07 01:40:18 +0100 |
commit | 7dbb922cea70897dd0e76c6cf8a300b061ca2531 (patch) | |
tree | 25d41f7219446f63871bd6dd5f0aab335f6bb6d6 /arch/powerpc/mm/numa.c | |
parent | Merge branch 'for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-mpc52xx int... (diff) | |
download | linux-7dbb922cea70897dd0e76c6cf8a300b061ca2531.tar.xz linux-7dbb922cea70897dd0e76c6cf8a300b061ca2531.zip |
[POWERPC] Fix compilation for CONFIG_DEBUGGER=n and CONFIG_KEXEC=y
Looks like "[POWERPC] kdump shutdown hook support" broke builds when
CONFIG_DEBUGGER=n and CONFIG_KEXEC=y, such as in g5_defconfig:
arch/powerpc/kernel/crash.c: In function 'default_machine_crash_shutdown':
arch/powerpc/kernel/crash.c:388: error: '__debugger_fault_handler' undeclared (first use in this function)
arch/powerpc/kernel/crash.c:388: error: (Each undeclared identifier is reported only once
arch/powerpc/kernel/crash.c:388: error: for each function it appears in.)
Move the debugger hooks to under CONFIG_DEBUGGER || CONFIG_KEXEC, since
that's when the crash code is enabled.
(I should have caught this with my build-script pre-merge, my bad. :( )
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/numa.c')
0 files changed, 0 insertions, 0 deletions