kernel-ark/arch/x86/mm
Wang Chen 8827247ffc x86: don't define __this_fixmap_does_not_exist()
Impact: improve out-of-range fixmap index debugging

Commit "1b42f51630c7eebce6fb780b480731eb81afd325"
defined the __this_fixmap_does_not_exist() function
with a WARN_ON(1) in it.

This causes the linker to not report an error when
__this_fixmap_does_not_exist() is called with a
non-constant parameter.

Ingo defined __this_fixmap_does_not_exist() because he
wanted to get virt addresses of fix memory of nest level
by non-constant index.

But we can fix this and still keep the link-time check:

We can get the four slot virt addresses on link time and
store them to array slot_virt[].

Then we can then refer the slot_virt with non-constant index,
in the ioremap-leak detection code.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
LKML-Reference: <49B2075B.4070509@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-08 17:07:47 +01:00
..
dump_pagetables.c
extable.c x86: uaccess: introduce try and catch framework 2009-01-23 17:17:36 -08:00
fault.c x86, mm: fault.c, simplify kmmio_fault(), cleanup 2009-02-22 10:24:18 +01:00
gup.c x86: two trivial sparse annotations 2008-10-29 08:02:28 +01:00
highmem_32.c x86: set_highmem_pages_init() cleanup, #2 2009-03-04 19:00:51 +01:00
hugetlbpage.c
init_32.c Merge branch 'x86/mm' into x86/core 2009-03-05 21:49:35 +01:00
init_64.c Merge branch 'x86/mm' into x86/core 2009-03-05 21:49:35 +01:00
init.c x86: move function and variable declarations to asm/init.h 2009-03-05 14:17:18 +01:00
iomap_32.c Revert "gpu/drm, x86, PAT: PAT support for io_mapping_*" 2009-03-01 12:47:49 +01:00
ioremap.c x86: don't define __this_fixmap_does_not_exist() 2009-03-08 17:07:47 +01:00
k8topology_64.c x86: k8 numa register active regions later 2009-01-06 13:21:21 +01:00
kmmio.c x86 mmiotrace: fix race with release_kmmio_fault_page() 2009-03-02 10:20:37 +01:00
Makefile x86: unify free_init_pages() and free_initmem() 2009-03-03 12:21:18 +01:00
memtest.c x86: memtest: add additional (regular) test patterns 2009-02-25 12:19:47 +01:00
mmap.c x86: update copyrights 2009-01-31 04:21:18 +01:00
mmio-mod.c
numa_32.c x86: fix bootmem cross node for 32bit numa 2009-03-04 20:55:03 +01:00
numa_64.c Merge branch 'linus' into x86/apic 2009-02-22 20:05:19 +01:00
pageattr-test.c
pageattr.c x86, pat: add large-PAT check to split_large_page() 2009-02-20 17:48:49 +01:00
pat.c Merge branch 'x86/urgent' into x86/pat 2009-03-01 12:47:58 +01:00
pf_in.c
pf_in.h
pgtable_32.c Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x86/setup-lzma', 'x86/signal' and 'x86/urgent' into x86/core 2009-03-04 02:22:31 +01:00
pgtable.c x86, fixmap: define reserve_top_address for x86_64 2009-02-27 20:57:47 -08:00
srat_32.c
srat_64.c x86, apic: remove genapic.h 2009-02-17 17:52:44 +01:00
testmmiotrace.c x86: add far read test to testmmiotrace 2009-03-02 10:20:35 +01:00
tlb.c x86, apic: remove duplicate asm/apic.h inclusions 2009-02-17 17:52:44 +01:00