Move source tree closer to the 2.6.32.17 mainline
/arch/x86/kernel/k8.c
blob:cbc4332a77b25927947d18c69f47188465a29d3e -> blob:9b895464dd0311f9c0c4619b5cf7e3f5e94dd2de
--- arch/x86/kernel/k8.c
+++ arch/x86/kernel/k8.c
@@ -121,3 +121,17 @@ void k8_flush_garts(void)
}
EXPORT_SYMBOL_GPL(k8_flush_garts);
+static __init int init_k8_nbs(void)
+{
+ int err = 0;
+
+ err = cache_k8_northbridges();
+
+ if (err < 0)
+ printk(KERN_NOTICE "K8 NB: Cannot enumerate AMD northbridges.\n");
+
+ return err;
+}
+
+/* This has to go after the PCI subsystem */
+fs_initcall(init_k8_nbs);