kernel-hacking-2024-linux-s.../arch/x86/mm
Shaohua Li 60817c9b31 x86, memory hotplug: remove wrong -1 in calling init_memory_mapping()
Impact: fix crash with memory hotplug

Shuahua Li found:

| I just did some experiments on a desktop for memory hotplug and this bug
| triggered a crash in my test.
|
| Yinghai's suggestion also fixed the bug.

We don't need to round it, just remove that extra -1

Signed-off-by: Yinghai <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-28 09:33:17 +01:00
..
dump_pagetables.c
extable.c
fault.c Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-16 15:08:45 -07:00
gup.c x86: make mm/gup.c more virtualization friendly 2008-10-13 10:21:18 +02:00
highmem_32.c Export kmap_atomic_pfn for DRM-GEM. 2008-10-18 07:10:12 +10:00
hugetlbpage.c
init_32.c x86: add _PAGE_IOMAP pte flag for IO mappings 2008-10-13 10:20:56 +02:00
init_64.c x86, memory hotplug: remove wrong -1 in calling init_memory_mapping() 2008-10-28 09:33:17 +01:00
ioremap.c Merge branches 'core/softlockup', 'core/softirq', 'core/resources', 'core/printk' and 'core/misc' into core-v28-for-linus 2008-10-15 12:48:44 +02:00
k8topology_64.c
kmmio.c
Makefile
memtest.c x86: memtest fix use of reserve_early() 2008-10-22 17:08:06 +02:00
mmap.c
mmio-mod.c mmiotrace: remove left-over marker cruft 2008-10-14 10:37:17 +02:00
numa_32.c
numa_64.c
pageattr-test.c
pageattr.c proc: switch /proc/meminfo to seq_file 2008-10-23 13:52:40 +04:00
pat.c
pf_in.c x86: fix mmiotrace 8-bit register decoding 2008-10-14 10:33:50 +02:00
pf_in.h
pgtable.c
pgtable_32.c
srat_32.c
srat_64.c x86, uv: add early detection of UV system types 2008-10-13 10:21:51 +02:00
testmmiotrace.c x86 mmiotrace: implement mmiotrace_printk() 2008-10-14 10:37:11 +02:00