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: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <49B87C7B.80809@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c1ab7e93c6
commit
0d890355bf
@ -1,3 +1,3 @@
|
||||
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
|
||||
|
||||
|
1089
arch/x86/kernel/cpu/mtrr/cleanup.c
Normal file
1089
arch/x86/kernel/cpu/mtrr/cleanup.c
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -88,3 +88,6 @@ void mtrr_wrmsr(unsigned, unsigned, unsigned);
|
||||
int amd_init_mtrr(void);
|
||||
int cyrix_init_mtrr(void);
|
||||
int centaur_init_mtrr(void);
|
||||
|
||||
extern int changed_by_mtrr_cleanup;
|
||||
extern int mtrr_cleanup(unsigned address_bits);
|
||||
|
Loading…
Reference in New Issue
Block a user