diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-07-04 21:16:33 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-04 21:16:33 +0100 |
commit | 7b9c7b4d07fd8981193a2c4ecb650566f42d1219 (patch) | |
tree | bd80d48a0d024588571b9c9d30d3f8ee8cbe1418 /include/asm-avr32/kdebug.h | |
parent | 1f750a782c0e9593a8d0981ea972f22334980955 (diff) |
[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 'include/asm-avr32/kdebug.h')
0 files changed, 0 insertions, 0 deletions