]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:43:46 +0000 (10:43 -0800)
commitd7ffe47eece22194f75f78fa488e1b4cd16980bf
tree4b591efb961b9ffc3f068ae8d52152f9f4922459
parentca0afb558614a8934427e8de3cf8c00168e384c4
vmalloc.c: fix flushing in vmap_page_range()

commit 2e4e27c7d082b2198b63041310609d7191185a9d upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/vmalloc.c