All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -ak] Fix missing include
@ 2007-05-21 20:03 Thomas Gleixner
  2007-05-22  6:20 ` Andi Kleen
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2007-05-21 20:03 UTC (permalink / raw)
  To: Andi Kleen; +Cc: LKML

ftp://firstfloor.org/pub/ak/x86_64/quilt/x86_64-2.6.22-rc2-070521-1.bz2

explodes in various places due to missing defines of __cold. We can't
rely on the assumption that linux/compiler.h is included magically
before bug.h is included. Include it explicitely.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Index: linux-2.6.22-rc2-ak/include/asm-i386/bug.h
===================================================================
--- linux-2.6.22-rc2-ak.orig/include/asm-i386/bug.h
+++ linux-2.6.22-rc2-ak/include/asm-i386/bug.h
@@ -8,6 +8,9 @@
  */
 
 #ifdef CONFIG_BUG
+
+#include <linux/compiler.h>
+
 #define HAVE_ARCH_BUG
 
 #ifdef CONFIG_DEBUG_BUGVERBOSE
Index: linux-2.6.22-rc2-ak/include/asm-x86_64/bug.h
===================================================================
--- linux-2.6.22-rc2-ak.orig/include/asm-x86_64/bug.h
+++ linux-2.6.22-rc2-ak/include/asm-x86_64/bug.h
@@ -2,6 +2,9 @@
 #define __ASM_X8664_BUG_H 1
 
 #ifdef CONFIG_BUG
+
+#include <linux/compiler.h>
+
 #define HAVE_ARCH_BUG
 
 #ifdef CONFIG_DEBUG_BUGVERBOSE







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

end of thread, other threads:[~2007-05-22 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21 20:03 [PATCH -ak] Fix missing include Thomas Gleixner
2007-05-22  6:20 ` Andi Kleen
2007-05-22  7:28   ` Thomas Gleixner
2007-05-22  7:39     ` Sam Ravnborg

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.