]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, PAT: Add support for struct page pointer array in cpa set_clr
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Thu, 19 Mar 2009 21:51:14 +0000 (14:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Mar 2009 09:34:48 +0000 (10:34 +0100)
commit9ae2847591c857bed44bc094b908b412bfa1b244
tree566ffc65293442b05278b6bbb6479b5a254cd64f
parent728c9518873de0bbb92b66daa1943b12e5b9f80f
x86, PAT: Add support for struct page pointer array in cpa set_clr

Add struct page array pointer to cpa struct and CPA_PAGES_ARRAY.

With that we can add change_page_attr_set_clr() a parameter to pass
struct page array pointer and that can be handled by the underlying
cpa code.

cpa_flush_array() is also changed to support both addr array or
struct page pointer array, depending on the flag.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: arjan@infradead.org
Cc: eric@anholt.net
Cc: airlied@redhat.com
LKML-Reference: <20090319215358.758513000@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c