Move source tree closer to the 2.6.32.17 mainline
/arch/x86/include/asm/k8.h
blob:c2d1f3b58e5f1342607280be6a71d434796482dd -> blob:f0746f46990dd17f2cac51493086f53de40ea682
--- arch/x86/include/asm/k8.h
+++ arch/x86/include/asm/k8.h
@@ -13,11 +13,16 @@ extern void k8_flush_garts(void);
extern int k8_scan_nodes(unsigned long start, unsigned long end);
#ifdef CONFIG_K8_NB
+extern int num_k8_northbridges;
+
static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
}
+
#else
+#define num_k8_northbridges 0
+
static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return NULL;