提交 0d890355 编写于 作者: Y Yinghai Lu 提交者: Ingo Molnar

x86: separate mtrr cleanup/mtrr_e820 trim to separate file

Impact: cleanup

mtrr main.c is too big, seperate mtrr cleanup and mtrr e820 trim
code to another file.
Signed-off-by: NYinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B87C7B.80809@kernel.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c1ab7e93
obj-y := main.o if.o generic.o state.o obj-y := main.o if.o generic.o state.o cleanup.o
obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o
此差异已折叠。
此差异已折叠。
...@@ -88,3 +88,6 @@ void mtrr_wrmsr(unsigned, unsigned, unsigned); ...@@ -88,3 +88,6 @@ void mtrr_wrmsr(unsigned, unsigned, unsigned);
int amd_init_mtrr(void); int amd_init_mtrr(void);
int cyrix_init_mtrr(void); int cyrix_init_mtrr(void);
int centaur_init_mtrr(void); int centaur_init_mtrr(void);
extern int changed_by_mtrr_cleanup;
extern int mtrr_cleanup(unsigned address_bits);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册