]> git.baikalelectronics.ru Git - kernel.git/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)
commitca4cd79e9656ff05d4acedae0662f36be3c06e8f
treeb73e0f3c4c2df044a049e77f4c2146af2b7327b0
parent0a8c3d66b5ef93aea06a190e8894dca38eec2637
[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