From: Russell King Date: Wed, 4 Jul 2007 20:16:33 +0000 (+0100) Subject: [ARM] Fix non-page aligned boot time mappings X-Git-Tag: v2.6.22~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b9c7b4d07fd8981193a2c4ecb650566f42d1219;p=pandora-kernel.git [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 --- Reading git-diff-tree failed