diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 22:26:45 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 22:26:46 +0930 |
commit | 4c1ea3dd718a1d93a726cb3e66665ac4170dcccd (patch) | |
tree | fc20b6da34016e03faa914743eeaafe489e38443 /security/security.c | |
parent | cdae0ad5e8ea630017d4cad3923f763c4e6c3127 (diff) | |
download | op-kernel-dev-4c1ea3dd718a1d93a726cb3e66665ac4170dcccd.zip op-kernel-dev-4c1ea3dd718a1d93a726cb3e66665ac4170dcccd.tar.gz |
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 <kamalesh@linux.vnet.ibm.com>)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Matias Zabaljauregui <zabaljauregui@gmail.com>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions