From: David S. Miller Date: Fri, 24 Sep 2010 05:06:47 +0000 (-0700) Subject: sparc32: Fix unaligned stack handling on trap return. X-Git-Tag: v2.6.37-rc1~46^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9088333e3d83a68aeac15f7810c3cbf332b80303;p=pandora-kernel.git sparc32: Fix unaligned stack handling on trap return. When the rett stack checking code sees the stack is unaligned (in both the sun4c and srmmu cases) it jumps to the window fault-in path. But that just tries to page the stack pages in, it doesn't do anything special if the stack is misaligned. Therefore we essentially just loop forever in the trap return path. Fix this by emitting a SIGILL in the stack fault-in code if the stack is mis-aligned. Reported-by: Al Viro Signed-off-by: David S. Miller --- Reading git-diff-tree failed