]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] m32r: fix ace_handler to pass full 32-bit address
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 8 Dec 2006 10:35:56 +0000 (02:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:37 +0000 (08:28 -0800)
commit6b8bd3f4b2e9d0fbfd0e7d75ba1cdc79c6876ecc
tree1bdd60f28f6e10747b19dade59b8e055a69ca75d
parentf894cb5c938de467e208e5934c90cb9deee7dc46
[PATCH] m32r: fix ace_handler to pass full 32-bit address

Don't mask the lower 12-bit of the page fault address.

In the current m32r kernel implementation, we use an access exception
to detect page faults.

This patch fixes ace_handler (access exception handler) for m32r.  In order to
check userspace address in do_page_fault, we have to pass full 32-bit address
to do_page_fault.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/entry.S
arch/m32r/mm/fault.c