]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: prepare for removal of a bunch of <mach/memory.h> files
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 6 Jul 2011 02:52:51 +0000 (22:52 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 26 Sep 2011 14:11:58 +0000 (10:11 -0400)
commit704d65ea15264ff932fcf5989d37195ed2e045ee
tree3e5d06f8e6a0b177ff2e201fb76fdf319a229f8e
parentd7603ae9b952ecc1c883e77b58a5486f40d911c0
ARM: prepare for removal of a bunch of <mach/memory.h> files

When the CONFIG_NO_MACH_MEMORY_H symbol is selected by a particular
machine class, the machine specific memory.h include file is no longer
used and can be removed.  In that case the equivalent information can
be obtained dynamically at runtime by enabling CONFIG_ARM_PATCH_PHYS_VIRT
or by specifying the physical memory address at kernel configuration time.

If/when all instances of mach/memory.h are removed then this symbol could
be removed.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/memory.h
arch/arm/kernel/head.S