From: Rusty Russell Date: Thu, 24 Sep 2009 04:26:45 +0000 (-0600) Subject: lguest: use set_pte/set_pmd uniformly for real page table entries X-Git-Tag: v2.6.32-rc1~175^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c1ea3dd718a1d93a726cb3e66665ac4170dcccd;p=pandora-kernel.git lguest: use set_pte/set_pmd uniformly for real page table entries If we're building a pte, we can use simple assigment; only use set_pte etc. when we're actually going to use that destination as a PTE. I don't know that we'll ever run under Xen, but it's neater. And use set_pte/set_pmd rather than assuming native_ versions, even though that's probably true for most people. (Includes compile fix by Kamalesh Babulal ) Signed-off-by: Rusty Russell Cc: Matias Zabaljauregui Cc: Kamalesh Babulal --- Reading git-diff-tree failed