All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix xmon print_bug_trap compile error
@ 2007-03-22 22:11 Olaf Hering
  2007-03-22 22:14 ` [PATCH] fix link errors when eeh is disabled Olaf Hering
  2007-03-23  6:00 ` [PATCH] fix xmon print_bug_trap compile error Stephen Rothwell
  0 siblings, 2 replies; 5+ messages in thread
From: Olaf Hering @ 2007-03-22 22:11 UTC (permalink / raw)
  To: Paul Mackeras, linuxppc-dev


These 2 members of struct bug_entry are inside CONFIG_DEBUG_BUGVERBOSE

arch/powerpc/xmon/xmon.c:1364: error: 'const struct bug_entry' has no member named 'file'
arch/powerpc/xmon/xmon.c:1364: error: 'const struct bug_entry' has no member named 'line'

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
 arch/powerpc/xmon/xmon.c |    2 ++
 1 file changed, 2 insertions(+)

Index: b/arch/powerpc/xmon/xmon.c
===================================================================
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1360,8 +1360,10 @@ static void print_bug_trap(struct pt_reg
 	if (is_warning_bug(bug))
 		return;
 
+#ifdef CONFIG_DEBUG_BUGVERBOSE
 	printf("kernel BUG at %s:%u!\n",
 	       bug->file, bug->line);
+#endif
 }
 
 void excprint(struct pt_regs *fp)

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

end of thread, other threads:[~2007-03-23  7:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22 22:11 [PATCH] fix xmon print_bug_trap compile error Olaf Hering
2007-03-22 22:14 ` [PATCH] fix link errors when eeh is disabled Olaf Hering
2007-03-23  0:11   ` [PATCH] remove unused inclusion of linux/ide.h Olaf Hering
2007-03-23  7:16   ` [PATCH] fix link errors when eeh is disabled Stephen Rothwell
2007-03-23  6:00 ` [PATCH] fix xmon print_bug_trap compile error Stephen Rothwell

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.