powerpc: Create PPC_WARN_ALIGNMENT to match PPC_WARN_EMULATED
authorAnton Blanchard <anton@samba.org>
Tue, 27 Oct 2009 18:46:55 +0000 (18:46 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Oct 2009 05:13:03 +0000 (16:13 +1100)
commiteecff81d1fcda22cd0029d11fe2a71dceed11dad
tree9cbccbfc76a7336aa1d309b89407e31a76110784
parentf7d7986060b2890fc26db6ab5203efbd33aa2497
powerpc: Create PPC_WARN_ALIGNMENT to match PPC_WARN_EMULATED

perf_event wants a separate event for alignment and emulation faults,
so create another emulation event.  This will make it easy to hook in
perf_event at one spot.

We pass in regs which will be required for these events.

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