]> git.baikalelectronics.ru Git - kernel.git/commit
hugetlb: fix clear_user_highpage arguments
authorRalf Baechle <ralf@linux-mips.org>
Mon, 1 Oct 2007 08:20:10 +0000 (01:20 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 1 Oct 2007 14:52:23 +0000 (07:52 -0700)
commitcd53678f5a7449923d993fb9841a0cebf05f0761
tree136dc7376976685539c132690ff74aea79642737
parent4cf21d572e55238b4cb3fc9e50a3e2ce31666fcb
hugetlb: fix clear_user_highpage arguments

The virtual address space argument of clear_user_highpage is supposed to be
the virtual address where the page being cleared will eventually be mapped.
 This allows architectures with virtually indexed caches a few clever
tricks.  That sort of trick falls over in painful ways if the virtual
address argument is wrong.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c