[PATCH x86 for review III] [10/29] i386: don't include bugs.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrew Morton <[email protected]>

That stupid non-inlined-static function in bugs.h causes:

include/asm/bugs.h:186: warning: 'check_bugs' defined but not used

But fortunately the include isn't needed.

Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>

---

 arch/i386/kernel/alternative.c |    1 -
 1 file changed, 1 deletion(-)

Index: linux/arch/i386/kernel/alternative.c
===================================================================
--- linux.orig/arch/i386/kernel/alternative.c
+++ linux/arch/i386/kernel/alternative.c
@@ -4,7 +4,6 @@
 #include <linux/list.h>
 #include <asm/alternative.h>
 #include <asm/sections.h>
-#include <asm/bugs.h>
 
 static int no_replacement    = 0;
 static int smp_alt_once      = 0;
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux