From: Stefan Roese Date: Tue, 26 Jan 2010 12:33:29 +0000 (+0100) Subject: ppc4xx: Fix compilation error on ML2 board X-Git-Tag: v2010.03-rc1~93^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f6c26e430ffae87b6b3d74ba7cbf9439703feea;p=u-boot 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 --- diff --git a/cpu/ppc4xx/traps.c b/cpu/ppc4xx/traps.c index cb35faf081..42e422157c 100644 --- a/cpu/ppc4xx/traps.c +++ b/cpu/ppc4xx/traps.c @@ -34,6 +34,7 @@ #include #include +#include #include DECLARE_GLOBAL_DATA_PTR;