All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Fix compilation error on ML2 board
@ 2010-01-26 12:33 Stefan Roese
  2010-02-03  8:20 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2010-01-26 12:33 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ppc4xx: Fix compilation error on ML2 board
  2010-01-26 12:33 [U-Boot] [PATCH] ppc4xx: Fix compilation error on ML2 board Stefan Roese
@ 2010-02-03  8:20 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2010-02-03  8:20 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-03  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26 12:33 [U-Boot] [PATCH] ppc4xx: Fix compilation error on ML2 board Stefan Roese
2010-02-03  8:20 ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.