Re: [PATCH] x86: disable_mtrr_trim only need for x86_64

2008-01-19 Thread Yinghai Lu
On Jan 19, 2008 9:37 PM, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > Yinghai Lu wrote: > > [PATCH] x86: disable_mtrr_trim only need for x86_64 > > > > mtrr_trim_uncached_memory is only used in x86_64, > > > > so disable_mtrr_trim is not needed for x86_32 &g

Re: [PATCH] x86: disable_mtrr_trim only need for x86_64

2008-01-19 Thread H. Peter Anvin
Yinghai Lu wrote: [PATCH] x86: disable_mtrr_trim only need for x86_64 mtrr_trim_uncached_memory is only used in x86_64, so disable_mtrr_trim is not needed for x86_32 Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> That seems like a bug, and if so this patch goes the wrong direction. (

[PATCH] x86: disable_mtrr_trim only need for x86_64

2008-01-19 Thread Yinghai Lu
[PATCH] x86: disable_mtrr_trim only need for x86_64 mtrr_trim_uncached_memory is only used in x86_64, so disable_mtrr_trim is not needed for x86_32 Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 4