aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorArjan van de Ven <[email protected]>2008-02-04 16:48:05 +0100
committerIngo Molnar <[email protected]>2008-02-04 16:48:05 +0100
commit626c2c9d065da0cbd9997e112501487958fde690 (patch)
treefccad0409c38a4cd845c82f407e2e77bd8dbfc47 /scripts/basic
parentcc0f21bbc12dc9f05b2e7f2469128f8717b2f4d3 (diff)
x86: use the pfn from the page when change its attributes
When changing the attributes of a pte, we should use the PFN from the existing PTE rather than going through hoops calculating what we think it might have been; this is both fragile and totally unneeded. It also makes it more hairy to call any of these functions on non-direct maps for no good reason whatsover. With this change, __change_page_attr() no longer takes a pfn as argument, which simplifies all the callers. Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions