diff options
Diffstat (limited to 'arch/x86/include/asm/amd_nb.h')
-rw-r--r-- | arch/x86/include/asm/amd_nb.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/x86/include/asm/amd_nb.h b/arch/x86/include/asm/amd_nb.h index c8517f81b21e..35b17a821e34 100644 --- a/arch/x86/include/asm/amd_nb.h +++ b/arch/x86/include/asm/amd_nb.h | |||
@@ -3,33 +3,33 @@ | |||
3 | 3 | ||
4 | #include <linux/pci.h> | 4 | #include <linux/pci.h> |
5 | 5 | ||
6 | extern struct pci_device_id k8_nb_ids[]; | 6 | extern struct pci_device_id amd_nb_ids[]; |
7 | struct bootnode; | 7 | struct bootnode; |
8 | 8 | ||
9 | extern int early_is_k8_nb(u32 value); | 9 | extern int early_is_amd_nb(u32 value); |
10 | extern int cache_k8_northbridges(void); | 10 | extern int cache_amd_northbridges(void); |
11 | extern void k8_flush_garts(void); | 11 | extern void amd_flush_garts(void); |
12 | extern int k8_get_nodes(struct bootnode *nodes); | 12 | extern int amd_get_nodes(struct bootnode *nodes); |
13 | extern int k8_numa_init(unsigned long start_pfn, unsigned long end_pfn); | 13 | extern int amd_numa_init(unsigned long start_pfn, unsigned long end_pfn); |
14 | extern int k8_scan_nodes(void); | 14 | extern int amd_scan_nodes(void); |
15 | 15 | ||
16 | struct k8_northbridge_info { | 16 | struct amd_northbridge_info { |
17 | u16 num; | 17 | u16 num; |
18 | u8 gart_supported; | 18 | u8 gart_supported; |
19 | struct pci_dev **nb_misc; | 19 | struct pci_dev **nb_misc; |
20 | }; | 20 | }; |
21 | extern struct k8_northbridge_info k8_northbridges; | 21 | extern struct amd_northbridge_info amd_northbridges; |
22 | 22 | ||
23 | #ifdef CONFIG_AMD_NB | 23 | #ifdef CONFIG_AMD_NB |
24 | 24 | ||
25 | static inline struct pci_dev *node_to_k8_nb_misc(int node) | 25 | static inline struct pci_dev *node_to_amd_nb_misc(int node) |
26 | { | 26 | { |
27 | return (node < k8_northbridges.num) ? k8_northbridges.nb_misc[node] : NULL; | 27 | return (node < amd_northbridges.num) ? amd_northbridges.nb_misc[node] : NULL; |
28 | } | 28 | } |
29 | 29 | ||
30 | #else | 30 | #else |
31 | 31 | ||
32 | static inline struct pci_dev *node_to_k8_nb_misc(int node) | 32 | static inline struct pci_dev *node_to_amd_nb_misc(int node) |
33 | { | 33 | { |
34 | return NULL; | 34 | return NULL; |
35 | } | 35 | } |