Messages in this thread Patch in this message | | | Subject | [PATCH -ak] Fix missing include | From | Thomas Gleixner <> | Date | Mon, 21 May 2007 22:03:59 +0200 |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |