Explorar el Código

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>
Stefan Roese hace 15 años
padre
commit
6f6c26e430
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      cpu/ppc4xx/traps.c

+ 1 - 0
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;