https://github.com/torvalds/linux
Revision 7b9c7b4d07fd8981193a2c4ecb650566f42d1219 authored by Russell King on 04 July 2007, 20:16:33 UTC, committed by Russell King on 04 July 2007, 20:16:33 UTC
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>
1 parent 1f750a7
History
Tip revision: 7b9c7b4d07fd8981193a2c4ecb650566f42d1219 authored by Russell King on 04 July 2007, 20:16:33 UTC
[ARM] Fix non-page aligned boot time mappings
Tip revision: 7b9c7b4
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 87.8 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top