summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-01-26 13:33:29 +0100
committerStefan Roese <sr@denx.de>2010-02-03 09:17:00 +0100
commit6f6c26e430ffae87b6b3d74ba7cbf9439703feea (patch)
tree81510768d2c822bb73dada42b3b1d9de13d7a0bb /cpu/ppc4xx
parent9b208ece0a4e040774e24990b7cb6f0ad0ca4cc7 (diff)
downloadu-boot-imx-6f6c26e430ffae87b6b3d74ba7cbf9439703feea.zip
u-boot-imx-6f6c26e430ffae87b6b3d74ba7cbf9439703feea.tar.gz
u-boot-imx-6f6c26e430ffae87b6b3d74ba7cbf9439703feea.tar.bz2
ppc4xx: Fix compilation error on ML2 board
Recently this compilation error occurs: Configuring for ML2 board... traps.c: In function 'MachineCheckException': traps.c:159: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c:159: error: (Each undeclared identifier is reported only once traps.c:159: error: for each function it appears in.) This patch now fixes it by including kgdb.h Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/traps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/ppc4xx/traps.c b/cpu/ppc4xx/traps.c
index cb35faf..42e4221 100644
--- a/cpu/ppc4xx/traps.c
+++ b/cpu/ppc4xx/traps.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
DECLARE_GLOBAL_DATA_PTR;