vmalloc.c: fix flushing in vmap_page_range()
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Sun, 4 Jan 2009 20:00:46 +0000 (12:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Jan 2009 21:33:20 +0000 (13:33 -0800)
commit2e4e27c7d082b2198b63041310609d7191185a9d
tree4b994ab4569e4510ff4dd4d357807121ab802782
parent7b574b7b0124ed344911f5d581e9bc2d83bbeb19
vmalloc.c: fix flushing in vmap_page_range()

The flush_cache_vmap in vmap_page_range() is called with the end of the
range twice.  The following patch fixes this for me.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c