Russell King 7b9c7b4d07 [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>
2007-07-04 21:16:33 +01:00
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-06-01 08:18:28 -07:00
2005-04-16 15:20:36 -07:00
2006-09-27 17:34:30 +01:00
2005-04-16 15:20:36 -07:00
2006-06-25 11:23:45 +01:00
2006-01-03 17:39:34 +00:00
2005-04-16 15:20:36 -07:00
2007-05-20 20:10:32 +01:00
2007-05-21 09:18:19 -07:00
2006-12-13 14:34:43 +00:00
2006-12-13 14:34:43 +00:00
2006-12-13 14:34:43 +00:00
2007-02-15 15:07:40 +00:00