aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/k8.h
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2009-04-09 09:16:17 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-10 08:21:49 -0400
commitafd9fceec55225d33be878927056a548c2eef26c (patch)
tree0a71688345a2514d66d5741e096791e93fadda64 /arch/x86/include/asm/k8.h
parent845d8c761ec763871936c62b837c4a9ea6d0fbdb (diff)
x86: cacheinfo: use cached K8 NB_MISC devices instead of scanning for it
Impact: avoid code duplication Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Mark Langsdorf <mark.langsdorf@amd.com> LKML-Reference: <20090409131617.GI31527@alberich.amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/k8.h')
-rw-r--r--arch/x86/include/asm/k8.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/include/asm/k8.h b/arch/x86/include/asm/k8.h
index 54c8cc53b24d..c23b3d171be5 100644
--- a/arch/x86/include/asm/k8.h
+++ b/arch/x86/include/asm/k8.h
@@ -12,4 +12,12 @@ extern int cache_k8_northbridges(void);
12extern void k8_flush_garts(void); 12extern void k8_flush_garts(void);
13extern int k8_scan_nodes(unsigned long start, unsigned long end); 13extern int k8_scan_nodes(unsigned long start, unsigned long end);
14 14
15#ifdef CONFIG_K8_NB
16#define node_to_k8_nb_misc(node) \
17 (node < num_k8_northbridges) ? k8_northbridges[node] : NULL
18#else
19#define node_to_k8_nb_misc(node) NULL
20#endif
21
22
15#endif /* _ASM_X86_K8_H */ 23#endif /* _ASM_X86_K8_H */