x86, CPA: Add set_pages_arrayuc and set_pages_array_wb
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Thu, 19 Mar 2009 21:51:15 +0000 (14:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Mar 2009 09:34:49 +0000 (10:34 +0100)
commit0f3507555f6fa4acbc85a646d6e8766230db38fc
treef46d34e37e141c9bc305f5c8c8835fa6cd0797fb
parent9ae2847591c857bed44bc094b908b412bfa1b244
x86, CPA: Add set_pages_arrayuc and set_pages_array_wb

Add new interfaces:

  set_pages_array_uc()
  set_pages_array_wb()

that can be used change the page attribute for a bunch of pages with
flush etc done once at the end of all the changes. These interfaces
are similar to existing set_memory_array_uc() and set_memory_array_wc().

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