]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ppc4xx: Fix compilation error on ML2 board
authorStefan Roese <sr@denx.de>
Tue, 26 Jan 2010 12:33:29 +0000 (13:33 +0100)
committerStefan Roese <sr@denx.de>
Wed, 3 Feb 2010 08:17:00 +0000 (09:17 +0100)
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>
cpu/ppc4xx/traps.c

index cb35faf081414d30526c74b3458ba0c93abda684..42e422157c103dd78adb75fd69d52254137d043a 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <kgdb.h>
 #include <asm/processor.h>
 
 DECLARE_GLOBAL_DATA_PTR;