From: Haavard Skinnemoen Date: Wed, 3 Jun 2009 12:29:16 +0000 (+0200) Subject: avr32: Fix oops on unaligned user access X-Git-Tag: v2.6.31-rc1~346^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb6e647051a59dca5a72b3deef1e061d7c1c34da;p=pandora-kernel.git avr32: Fix oops on unaligned user access The unaligned address exception handler (and others) does not scan the fixup tables before oopsing. This is bad because it means passing a badly aligned pointer from user space might crash the kernel. Fix this by scanning the fixup tables in _exception(). This should resolve the issue for unaligned addresses as well as other less common exceptions that might be happening during a userspace access. The page fault handler already does fixup processing. Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed