]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4a002c008a77316bd866c04d4d94cdaafe195b7
tree9cbccbfc76a7336aa1d309b89407e31a76110784
parent46ce014f53f603fe18113d1bce1409123b5057b6
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