[2.6 patch] arch/i386/kernel/alternative.c should #include <asm/bugs.h>

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

 



Every file should include the headers containing the prototypes for
it's global functions.

Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was already sent on:
- 4 Jan 2007

--- linux-2.6.20-rc2-mm1/arch/i386/kernel/alternative.c.old	2007-01-03 23:13:18.000000000 +0100
+++ linux-2.6.20-rc2-mm1/arch/i386/kernel/alternative.c	2007-01-03 23:13:32.000000000 +0100
@@ -4,6 +4,7 @@
 #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