x86: cpa create set_and_clr function
commitff31452b6ea5032f26f16140d45dc6596260cd9c
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:08 +0000 (30 13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:08 +0000 (30 13:34 +0100)
treeb18035ad80e0286737490fdac2f037e1451c92a7
parent72932c7ad2cc309b0ba6149aa31faa26aaee54d5
x86: cpa create set_and_clr function

Create a set_and_clr function to avoid the duplicate loops. Allows
also to do combined operations for optimization.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c