Package: linux-source-2.6.32
Version: 2.6.32-48

When CONFIG_AMD_NB is not set, compiling fails with:

amd_bus.c:(.init.text+0x148a): undefined reference to `amd_get_mmconfig_range'.

The patchfix:

--- arch/x86/pci/Makefile-orig  2013-02-24 12:46:05.000000000 +0100
+++ arch/x86/pci/Makefile       2013-02-24 12:51:05.000000000 +0100
@@ -14,4 +14,4 @@
 obj-$(CONFIG_X86_NUMAQ)                += numaq_32.o

 obj-y                          += common.o early.o
-obj-y                          += amd_bus.o
+obj-$(CONFIG_AMD_NB)           += amd_bus.o

Reply via email to