]> err.no Git - linux-2.6/commit
[PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705
authorPaul Mundt <lethal@linux-sh.org>
Mon, 7 Nov 2005 08:58:28 +0000 (00:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:28 +0000 (07:53 -0800)
commit0d6d82b6712c808e461090dd483f111f72b3b38b
treeb1450b08d1eb638865921d0b1020af0b579f7435
parent65463b73b14ed43368dc5961a6c3dcb0d98cfe1f
[PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705

SH7705 in extended cache mode has some left-over VALID_PAGE() cruft that it
checks when doing lazy dcache write-back.  This has been gone for some time
(the last bits were in the discontig code, which should now also be gone --
this also fixes up a build error in the non-discontig case).

pfn_valid() gives the desired behaviour, so we switch to that.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sh/mm/tlb-sh3.c