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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/