06 Dec, 2006
1 commit
-
There were a number of places that made evil PAGE_SIZE == 4k
assumptions that ended up breaking when trying to play with
8k and 64k page sizes, this fixes those up.The most significant change is the way we load THREAD_SIZE,
previously this was done via:mov #(THREAD_SIZE >> 8), reg
shll8 regto avoid a memory access and allow the immediate load. With
a 64k PAGE_SIZE, we're out of range for the immediate load
size without resorting to special instructions available in
later ISAs (movi20s and so on). The "workaround" for this is
to bump up the shift to 10 and insert a shll2, which gives a
bit more flexibility while still being much cheaper than a
memory access.Signed-off-by: Paul Mundt
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
17 Jan, 2006
1 commit
-
This adds kexec() support for SH.
Signed-off-by: kogiidena
Signed-off-by: Paul Mundt
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds