x86: Use new cache mode type in setting page attributes
x86: Use new cache mode type in setting page attributes

Instead of directly using the cache mode bits in the pte switch to
using the cache mode type in the functions for modifying page
attributes.

Based-on-patch-by: Stefan Bader <00beb3b1b08625be3b68f3989c75be8de7f2fd89@canonical.com>
Signed-off-by: Juergen Gross <29bbaec13092d36559e3abc6f27f7d09c395819f@suse.com>
Reviewed-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>
Cc: 00beb3b1b08625be3b68f3989c75be8de7f2fd89@canonical.com
Cc: 196a79ea1bad81d8c954adf793448b0a45442f28@lists.xensource.com
Cc: da3a51b335cef0eb0e2c329c5ef6bcd6acef687a@oracle.com
Cc: cd6e8d405ca90be3a03d5427c5b24fbd2d68dcc4@linux.intel.com
Cc: b9d45bd1f671e508cd8daa63dfc3cabb597562df@citrix.com
Cc: 01de09643e0ae62e116f8bd77de435799874b456@suse.com
Cc: 322b9f75d3806917607539efc168804d71b9503d@hp.com
Cc: 9fc55922e47e21cb004bb878f69efa10ab51cf02@jcrosoft.com
Cc: e1ca4dbb8be1acaf20734fecd2da10ed1d46a9bb@ti.com
Cc: f10ec01be0c6b54271af5c550cd257810bdf3268@google.com
Link: http://lkml.kernel.org/r/1415019724-4317-12-git-send-email-29bbaec13092d36559e3abc6f27f7d09c395819f@suse.com
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs