[SPARC64]: Fix D-cache corruption in mremap
authorDavid S. Miller <davem@sunset.sfo1.dsl.speakeasy.net>
Fri, 2 Jun 2006 00:47:25 +0000 (17:47 -0700)
committerDavid S. Miller <davem@sunset.sfo1.dsl.speakeasy.net>
Fri, 2 Jun 2006 00:47:25 +0000 (17:47 -0700)
If we move a mapping from one virtual address to another,
and this changes the virtual color of the mapping to those
pages, we can see corrupt data due to D-cache aliasing.

Check for and deal with this by overriding the move_pte()
macro.  Set things up so that other platforms can cleanly
override the move_pte() macro too.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found