From: Jeremy Fitzhardinge Date: Wed, 18 Jul 2007 01:37:05 +0000 (-0700) Subject: xen: ignore RW mapping of RO pages in pagetable_init X-Git-Tag: v2.6.23-rc1~498^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4029fd3409eb224eb62c32d9792071382694ec;p=pandora-kernel.git xen: ignore RW mapping of RO pages in pagetable_init When setting up the initial pagetable, which includes mappings of all low physical memory, ignore a mapping which tries to set the RW bit on an RO pte. An RO pte indicates a page which is part of the current pagetable, and so it cannot be allowed to become RW. Once xen_pagetable_setup_done is called, set_pte reverts to its normal behaviour. Signed-off-by: Jeremy Fitzhardinge Acked-by: Chris Wright Cc: ebiederm@xmission.com (Eric W. Biederman) --- Reading git-diff-tree failed