android_kernel_xiaomi_sm8350/arch/arm/mm
Nicolas Pitre 4b5f32cee0 [ARM] rationalize memory configuration code some more
Currently there are two instances of struct meminfo: one in
kernel/setup.c marked __initdata, and another in mm/init.c with
permanent storage.  Let's keep only the later to directly populate
the permanent version from arm_add_memory().

Also move common validation tests between the MMU and non-MMU cases
into arm_add_memory() to remove some duplication.  Protection against
overflowing the membank array is also moved in there in order to cover
the kernel cmdline parsing path as well.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-11-28 15:36:44 +00:00
..
abort-ev4.S
abort-ev4t.S
abort-ev5t.S
abort-ev5tj.S
abort-ev6.S
abort-ev7.S [ARM] 5227/1: Add the ENDPROC declarations to the .S files 2008-09-01 12:06:34 +01:00
abort-lv4t.S
abort-macro.S
abort-nommu.S [ARM] 5227/1: Add the ENDPROC declarations to the .S files 2008-09-01 12:06:34 +01:00
alignment.c [ARM] Convert asm/uaccess.h to linux/uaccess.h 2008-09-06 11:35:55 +01:00
cache-feroceon-l2.c [ARM] 5329/1: Feroceon: fix feroceon_l2_inv_range 2008-11-08 23:08:54 +00:00
cache-l2x0.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
cache-v3.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cache-v4.S [ARM] 5310/1: Fix cache flush functions for ARMv4 2008-10-17 13:44:27 +01:00
cache-v4wb.S
cache-v4wt.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cache-v6.S
cache-v7.S [ARM] 5227/1: Add the ENDPROC declarations to the .S files 2008-09-01 12:06:34 +01:00
cache-xsc3l2.c [ARM] xsc3: fix xsc3_l2_inv_range 2008-11-06 10:48:29 -07:00
context.c
copypage-feroceon.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-v3.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-v4mc.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-v4wb.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-v4wt.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-v6.c [ARM] clearpage: provide our own clear_user_highpage() 2008-11-27 23:53:48 +00:00
copypage-xsc3.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
copypage-xscale.c [ARM] fix a couple clear_user_highpage assembly constraints 2008-11-28 15:36:43 +00:00
discontig.c
dma-mapping.c [ARM] dma: don't touch cache on dma_*_for_cpu() 2008-09-30 11:01:36 +01:00
extable.c [ARM] Convert asm/uaccess.h to linux/uaccess.h 2008-09-06 11:35:55 +01:00
fault-armv.c Merge branch 'ptebits' into devel 2008-10-09 21:31:56 +01:00
fault.c [ARM] 5272/1: remove conditional compilation in show_pte() 2008-09-30 16:41:04 +01:00
fault.h
flush.c [ARM] cachetype: move definitions to separate header 2008-09-01 12:06:24 +01:00
init.c [ARM] rationalize memory configuration code some more 2008-11-28 15:36:44 +00:00
iomap.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
ioremap.c Merge branch 'ptebits' into devel 2008-10-09 21:31:56 +01:00
Kconfig [ARM] msm: rename ARCH_MSM7X00A to ARCH_MSM 2008-10-22 02:39:32 -07:00
Makefile [ARM] dma: rename consistent.c to dma-mapping.c 2008-09-25 15:59:19 +01:00
mm.h [ARM] rationalize memory configuration code some more 2008-11-28 15:36:44 +00:00
mmap.c [ARM] sparse: fix several warnings 2008-09-05 14:11:24 +01:00
mmu.c [ARM] rationalize memory configuration code some more 2008-11-28 15:36:44 +00:00
nommu.c [ARM] rationalize memory configuration code some more 2008-11-28 15:36:44 +00:00
pgd.c
proc-arm6_7.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm7tdmi.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm9tdmi.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm720.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm740.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm920.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm922.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm925.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm926.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm940.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm946.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm1020.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm1020e.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm1022.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-arm1026.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-feroceon.S Merge branch 'for-rmk' of git://git.marvell.com/orion 2008-10-09 21:33:07 +01:00
proc-macros.S [ARM] Remove MT_DEVICE_IXP2000 and associated definitions 2008-10-01 16:41:06 +01:00
proc-sa110.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-sa1100.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-syms.c [ARM] clearpage: provide our own clear_user_highpage() 2008-11-27 23:53:48 +00:00
proc-v6.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
proc-v7.S [ARM] mm: fix page table initialization 2008-11-06 17:45:32 +00:00
proc-xsc3.S [ARM] xsc3: revert writethrough memory-type encoding change 2008-10-24 10:21:45 -07:00
proc-xscale.S [ARM] Don't include asm/elf.h in asm code 2008-10-01 16:41:10 +01:00
tlb-v3.S
tlb-v4.S
tlb-v4wb.S
tlb-v4wbi.S
tlb-v6.S
tlb-v7.S [ARM] 5227/1: Add the ENDPROC declarations to the .S files 2008-09-01 12:06:34 +01:00