avr32: Fix broken pte dump code in do_page_fault()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 13 Feb 2008 11:32:34 +0000 (12:32 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 13 Feb 2008 13:44:04 +0000 (14:44 +0100)
commit32019828d9012e584017a824f84798248c0060dd
tree36287fd0eb2e117d61ed59b0199ea0af147493ad
parente48a411fa097c386c6081f4ed5a952aa3e21ca2b
avr32: Fix broken pte dump code in do_page_fault()

The per-task page tables only cover the first 2GiB of the address
space. For kernel addresses, we need to do the lookup in init's page
tables.

This is a temporary workaround until we modify the per-task page
tables to cover the whole 4GiB address space.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mm/fault.c