[PATCH] powerpc: Implement PR_[GS]ET_UNALIGN prctls for powerpc
authorPaul Mackerras <paulus@samba.org>
Wed, 7 Jun 2006 06:15:39 +0000 (16:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 11:24:16 +0000 (21:24 +1000)
commite9370ae15dc2f8ba1e1889ce26f13cda565b6ecb
tree338ed732f7a6607bc168795008e244f180876cda
parentfab5db97e44f76461f76b24adfa8ccb14d4df498
[PATCH] powerpc: Implement PR_[GS]ET_UNALIGN prctls for powerpc

This gives the ability to control whether alignment exceptions get
fixed up or reported to the process as a SIGBUS, using the existing
PR_SET_UNALIGN and PR_GET_UNALIGN prctls.  We do not implement the
option of logging a message on alignment exceptions.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c
arch/powerpc/kernel/traps.c
include/asm-powerpc/processor.h