summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/compat.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-02-21 15:58:13 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-03 22:03:48 +0200
commit40435792525c49cf126ba92d223e877acb5ce021 (patch)
tree55160c4689c9e7b80e871d24acb4a1b4cc3a18d9 /arch/arm/kernel/compat.h
parent[ARM] 4356/1: arm: fix handling of svc mode undefined instructions (diff)
downloadlinux-40435792525c49cf126ba92d223e877acb5ce021.tar.xz
linux-40435792525c49cf126ba92d223e877acb5ce021.zip
[ARM] 4227/1: minor head.S fixups
Let's surround constructs like: orr r3, r3, #(KERNEL_RAM_PADDR & 0x00f00000) between .if .endif since (KERNEL_RAM_PADDR & 0x00f00000) is 0 in 99% of all cases. Also let's mask PHYS_OFFSET with 0x00f00000 instead of 0x00e00000. Section mappings are really 1MB not 2MB and the 2MB groupping is a higher level issue already much better enforced with #if (PHYS_OFFSET & 0x001fffff) #error "PHYS_OFFSET must be at an even 2MiB boundary!" #endif at the top of the file. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/compat.h')
0 files changed, 0 insertions, 0 deletions