]> err.no Git - linux-2.6/commit
[MIPS] Fix non-linear memory mapping on MIPS
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 27 May 2006 18:39:39 +0000 (22:39 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:18 +0000 (00:15 +0100)
commit7cb710c9a617384cd0ed30638f3acc00125690fc
treeb73e0f3c4c2df044a049e77f4c2146af2b7327b0
parentaa32374aaa2e516a9b0719477efae0782a62a79e
[MIPS] Fix non-linear memory mapping on MIPS

Fix the non-linear memory mapping done via remap_file_pages() -- it
didn't work on any MIPS CPU because the page offset clashing with
_PAGE_FILE and some other page protection bits which should have been left
zeros for this kind of pages.

Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/pgtable-32.h
include/asm-mips/pgtable-64.h