[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1179777839.12708.42.camel@chaos>
Date: Mon, 21 May 2007 22:03:59 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Andi Kleen <ak@...e.de>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH -ak] Fix missing include
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@...utronix.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists