Arjan van de Ven 626c2c9d06 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 <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@tglx.de>
2008-02-04 16:48:05 +01:00
..
2008-01-30 13:33:25 +01:00
2008-01-30 13:31:41 +01:00
2008-02-04 16:47:56 +01:00
2008-01-30 13:30:47 +01:00
2008-02-04 16:47:54 +01:00
2007-10-11 11:17:18 +02:00
2008-01-30 13:34:11 +01:00
2008-01-30 13:34:11 +01:00
2008-01-30 13:31:10 +01:00