Skip to contentSkip to conversation

ppc4xx: Fix compilation error on ML2 board

PATCH New Stefan Roese 1 participant 2 messages Jan 26, 2010 – Feb 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 cpu/ppc4xx/traps.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
cpu/ppc4xx/traps.c +1 -0
index cb35faf..42e4221 100644
@@ -34,6 +34,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <kgdb.h>
 #include <asm/processor.h>
 
 DECLARE_GLOBAL_DATA_PTR;
Signature · 1 line
1.6.6.1
#1 lore raw

PATCH 1/1 ppc4xx: Fix compilation error on ML2 board

Quoted 10 lines · On Tuesday 26 January 2010 13:33:29 Stefan Roese wrote:

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

Applied to u-boot-ppc4xx/master. Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de