[patch] 2.6.19-rc1: Fix build breakage with CONFIG_X86_VSMP

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

 



Linus,
2.6.19-rc1 does not compile with CONFIG_X86_VSMP.  

arch/x86_64/kernel/built-in.o(.init.text+0xab13): In function `vsmp_init':
arch/x86_64/kernel/vsmp.c:32: undefined reference to `ioremap'
arch/x86_64/kernel/built-in.o(.init.text+0xab24):arch/x86_64/kernel/vsmp.c:33:
undefined reference to `readl'

Probably due to some header file cleanups in 2.6.19-rc1. Please apply this fix.

Thanks,
Kiran

---
From: Ravikiran Thirumalai <[email protected]>

Kernel build breaks with CONFIG_X86_VSMP.  Probably due to some header file 
cleanups in 2.6.19-rc1.  

Signed-off-by: Ravikiran Thirumalai <[email protected]>

Index: linux-2.6.19-rc1/arch/x86_64/kernel/vsmp.c
===================================================================
--- linux-2.6.19-rc1.orig/arch/x86_64/kernel/vsmp.c	2006-10-09 21:03:36.000000000 -0700
+++ linux-2.6.19-rc1/arch/x86_64/kernel/vsmp.c	2006-10-09 21:12:06.000000000 -0700
@@ -14,6 +14,7 @@
 #include <linux/pci_ids.h>
 #include <linux/pci_regs.h>
 #include <asm/pci-direct.h>
+#include <asm/io.h>
 
 static int __init vsmp_init(void)
 {
-
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