android_kernel_motorola_sm6225/arch/x86/kernel/cpu
Yinghai Lu 20651af9ac x86: fix mttr trimming
Pavel Emelyanov reported that his networking card did not work
and bisected it down to:

"
The commit

  093af8d7f0
  x86_32: trim memory by updating e820

broke my e1000 card: on loading driver says that

  e1000: probe of 0000:04:03.0 failed with error -5

and the interface doesn't appear.
"

on a 32-bit kernel, base will overflow when try to do PAGE_SHIFT,
and highest_addr will always less 4G.

So use pfn instead of address to avoid the overflow when more than
4g RAM is installed on a 32-bit kernel.

Many thanks to Pavel Emelyanov for reporting and testing it.

Bisected-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Tested-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-06 22:39:45 +01:00
..
cpufreq x86: fix sparse warnings in powernow-k8.c 2008-02-06 22:39:44 +01:00
mcheck x86: fix recursion in arch/x86/kernel/cpu/mcheck/mce_amd_64.c 2008-01-30 13:33:40 +01:00
mtrr x86: fix mttr trimming 2008-02-06 22:39:45 +01:00
addon_cpuid_features.c x86: add set/clear_cpu_cap operations 2008-01-30 13:30:55 +01:00
amd.c x86: fix bootup crash in native_read_tsc() 2008-02-02 10:00:26 +11:00
bugs.c x86: convert TSC disabling to generic cpuid disable bitmap 2008-01-30 13:33:20 +01:00
centaur.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
common.c x86: add cpu init function defintions to cpu.h 2008-02-04 16:48:04 +01:00
cpu.h x86: add cpu init function defintions to cpu.h 2008-02-04 16:48:04 +01:00
cyrix.c x86: use CR0 defines. 2008-01-30 13:30:39 +01:00
feature_names.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
intel.c x86: add include to cpu/intel.c 2008-02-04 16:48:04 +01:00
intel_cacheinfo.c x86: fix sparse warnings in intel_cacheinfo.c 2008-01-31 22:05:43 +01:00
Makefile x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c x86: nuke a ton of unused exports 2008-01-30 13:30:28 +01:00
proc.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
transmeta.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00