diff options
author | Andreas Herrmann <andreas.herrmann3@amd.com> | 2010-09-17 12:03:43 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-09-20 17:22:58 -0400 |
commit | 23ac4ae827e6264e21b898f2cd3f601450aa02a6 (patch) | |
tree | d2948304b5be996cbf8ad15ade2e3b3baa760617 /arch/x86/include/asm/k8.h | |
parent | 900f9ac9f12dc3dd6fc8e33e16df172eafcaead6 (diff) |
x86, k8: Rename k8.[ch] to amd_nb.[ch] and CONFIG_K8_NB to CONFIG_AMD_NB
The file names are somehow misleading as the code is not specific to
AMD K8 CPUs anymore. The files accomodate code for other AMD CPU
northbridges as well.
Same is true for the config option which is valid for AMD CPU
northbridges in general and not specific to K8.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100917160343.GD4958@loge.amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/k8.h')
-rw-r--r-- | arch/x86/include/asm/k8.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/arch/x86/include/asm/k8.h b/arch/x86/include/asm/k8.h deleted file mode 100644 index 9cee145dcace..000000000000 --- a/arch/x86/include/asm/k8.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | #ifndef _ASM_X86_K8_H | ||
2 | #define _ASM_X86_K8_H | ||
3 | |||
4 | #include <linux/pci.h> | ||
5 | |||
6 | extern struct pci_device_id k8_nb_ids[]; | ||
7 | struct bootnode; | ||
8 | |||
9 | extern int early_is_k8_nb(u32 value); | ||
10 | extern int cache_k8_northbridges(void); | ||
11 | extern void k8_flush_garts(void); | ||
12 | extern int k8_get_nodes(struct bootnode *nodes); | ||
13 | extern int k8_numa_init(unsigned long start_pfn, unsigned long end_pfn); | ||
14 | extern int k8_scan_nodes(void); | ||
15 | |||
16 | struct k8_northbridge_info { | ||
17 | u16 num; | ||
18 | u8 gart_supported; | ||
19 | struct pci_dev **nb_misc; | ||
20 | }; | ||
21 | extern struct k8_northbridge_info k8_northbridges; | ||
22 | |||
23 | #ifdef CONFIG_K8_NB | ||
24 | |||
25 | static inline struct pci_dev *node_to_k8_nb_misc(int node) | ||
26 | { | ||
27 | return (node < k8_northbridges.num) ? k8_northbridges.nb_misc[node] : NULL; | ||
28 | } | ||
29 | |||
30 | #else | ||
31 | |||
32 | static inline struct pci_dev *node_to_k8_nb_misc(int node) | ||
33 | { | ||
34 | return NULL; | ||
35 | } | ||
36 | #endif | ||
37 | |||
38 | |||
39 | #endif /* _ASM_X86_K8_H */ | ||