]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2]
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Apr 2008 15:11:00 +0000 (16:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:41:29 +0000 (13:41 -0700)
commited9b949f55bc8a6bb6083ce0eddb53d06aee302a
tree03c7005beb1611028c13a34766f87da848b13859
parente31c243f984628d02f045dc4b622f1e2827860dc
FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2]

Make NOMMU-mode work with base addresses other than 0xC0000000 by:

 (1) Giving the code that sets up the protection registers the right address
     in __sdram_base.  Rather than being hard coded to 0xC0000000, the value
     of __page_offset is obtained from the linker script.

 (2) Eliminate the check in __switch_to() that verifies the current thread
     info is in the 0xCxxxxxxx region.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/head.inc
arch/frv/kernel/switch_to.S