x86, cpa: remove USER permission from the very early identity mapping attribute
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 23 Sep 2008 21:00:37 +0000 (14:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Oct 2008 17:29:12 +0000 (19:29 +0200)
commit3a85e770aa77e4f1a4096275c97b64c10cd7323e
treedbba2397fdc28ae77185914d1a157161a67c5033
parentb2bc27314664c4d1a2f02e6f4cd0c32e4681d61e
x86, cpa: remove USER permission from the very early identity mapping attribute

remove USER from the PTE/PDE attributes for the very early identity
mapping. We overwrite these mappings with KERNEL attribute later
in the boot. Just being paranoid here as there is no need for USER bit
to be set.

If this breaks something(don't know the history), then we can simply drop
this change.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: arjan@linux.intel.com
Cc: venkatesh.pallipadi@intel.com
Cc: jeremy@goop.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/pgtable.h