From: David S. Miller Date: Fri, 2 Jun 2006 00:47:25 +0000 (-0700) Subject: [SPARC64]: Fix D-cache corruption in mremap X-Git-Tag: v2.6.17-rc6~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0968a3e691771bf87e1ce747b2c7d23b5526c8;p=pandora-kernel.git [SPARC64]: Fix D-cache corruption in mremap 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 --- Reading git-diff-tree failed