summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/mtrr.h
diff options
context:
space:
mode:
authorAndi Kleen2007-05-02 19:27:17 +0200
committerAndi Kleen2007-05-02 19:27:17 +0200
commit856f44ff4af6e57fdc39a8b2bec498c88438bd27 (patch)
tree475ca01f27c3272ec9e3d15f3d8209ad4424c3bc /include/asm-x86_64/mtrr.h
parent[PATCH] i386: Clean up ELF note generation (diff)
downloadkernel-qcow2-linux-856f44ff4af6e57fdc39a8b2bec498c88438bd27.tar.gz
kernel-qcow2-linux-856f44ff4af6e57fdc39a8b2bec498c88438bd27.tar.xz
kernel-qcow2-linux-856f44ff4af6e57fdc39a8b2bec498c88438bd27.zip
[PATCH] x86-64: Move mtrr prototypes from proto.h to mtrr.h
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/mtrr.h')
-rw-r--r--include/asm-x86_64/mtrr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86_64/mtrr.h b/include/asm-x86_64/mtrr.h
index d6135b2549bf..66809eca98cf 100644
--- a/include/asm-x86_64/mtrr.h
+++ b/include/asm-x86_64/mtrr.h
@@ -135,6 +135,14 @@ struct mtrr_gentry32
#endif /* CONFIG_COMPAT */
+#ifdef CONFIG_MTRR
+extern void mtrr_ap_init(void);
+extern void mtrr_bp_init(void);
+#else
+#define mtrr_ap_init() do {} while (0)
+#define mtrr_bp_init() do {} while (0)
+#endif
+
#endif /* __KERNEL__ */
#endif /* _LINUX_MTRR_H */