]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, pat: Fix cacheflush address in change_page_attr_set_clr()
authorJack Steiner <steiner@sgi.com>
Thu, 3 Sep 2009 17:56:02 +0000 (12:56 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:44:02 +0000 (08:44 -0700)
commitc922ffeef36f4e90d244fbde7b123f44e77e3be2
tree316cf899a3dcafe5e6e81b43b85729b976b86d76
parent011792952ea72097506d9f8a0727fa78ba8a3961
x86, pat: Fix cacheflush address in change_page_attr_set_clr()

commit fa526d0d641b5365676a1fb821ce359e217c9b85 upstream.

Fix address passed to cpa_flush_range() when changing page
attributes from WB to UC. The address (*addr) is
modified by __change_page_attr_set_clr(). The result is that
the pages being flushed start at the _end_ of the changed range
instead of the beginning.

This should be considered for 2.6.30-stable and 2.6.31-stable.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/mm/pageattr.c