diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-07-04 22:16:33 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-04 22:16:33 +0200 |
commit | 7b9c7b4d07fd8981193a2c4ecb650566f42d1219 (patch) | |
tree | bd80d48a0d024588571b9c9d30d3f8ee8cbe1418 /arch/arm/kernel/traps.c | |
parent | [ARM] 4458/1: pxa: Fix CKEN usage and hence fix pxa suspend/resume (diff) | |
download | linux-7b9c7b4d07fd8981193a2c4ecb650566f42d1219.tar.xz linux-7b9c7b4d07fd8981193a2c4ecb650566f42d1219.zip |
[ARM] Fix non-page aligned boot time mappings
AT91SAM9260 stopped booting with the recent changes to MM
initialisation - it was asking for a non-aligned virtual address
which caused loops to be non-terminal. Fix this by rounding
virtual addresses down, but remember to include the offset in
the length, and round the length up to the following page.
This means that asking for a mapping of 4K starting at 2K into
a page maps two pages as one would expect.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions