From: Jeremy Fitzhardinge Date: Thu, 22 Jan 2009 22:24:22 +0000 (-0800) Subject: x86: add pte_set_flags/clear_flags for pte flag manipulation X-Git-Tag: v2.6.30-rc1~2^2~50^2~46^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6522869c34664dd5f05a0a327e93915b1281c90d;p=pandora-kernel.git x86: add pte_set_flags/clear_flags for pte flag manipulation It's not necessary to deconstruct and reconstruct a pte every time its flags are being updated. Introduce pte_set_flags and pte_clear_flags to set and clear flags in a pte. This allows the flag manipulation code to be inlined, and avoids calls via paravirt-ops. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed