]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Unaligned accesses to userspace are hard errors.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 29 Nov 2006 04:18:05 +0000 (20:18 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 10 Dec 2006 10:39:39 +0000 (02:39 -0800)
commitc449c38b5df1fad556ea210deb6cff3b27323e49
tree1469b4334e0f620586c875bd1e622b606b196d8d
parent6e7726e16fb5e8f1169dbfcb75e321ac871af827
[SPARC64]: Unaligned accesses to userspace are hard errors.

Userspace is forbidden from making unaligned loads and
stores.  So if we get an unaligned trap due to a
{get,put}_user(), signal a fault and run the exception
handler.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/unaligned.c