]> err.no Git - linux-2.6/commit
[POWERPC] Never panic when taking altivec exceptions from userspace
authorAnton Blanchard <anton@samba.org>
Fri, 13 Oct 2006 01:41:00 +0000 (11:41 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Oct 2006 05:53:30 +0000 (15:53 +1000)
commit6c4841c2b6c32a134f9f36e5e08857138cc12b10
treefbce68fe2e11068f84d4fbd20ed08b3f8a95ab9c
parent60b2a46cd60c54bd6551ddfa01f0aab08ca58a5d
[POWERPC] Never panic when taking altivec exceptions from userspace

At the moment we rely on a cpu feature bit or a firmware property to
detect altivec. If we dont have either of these and the cpu does in fact
support altivec we can cause a panic from userspace.

It seems safer to always send a signal if we manage to get an 0xf20
exception from userspace.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c