]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0eabc2dc5a2207c225ccfd80ffc3ae36360e408
tree4b994ab4569e4510ff4dd4d357807121ab802782
parentb736833194cfc68cb7d713ec139dbf398375ffbb
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