Hi Stephen,
> I think this last line is not needed?
Right you are!
Anton
--
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 eve
Hi Anton,
On Sun, 18 Oct 2009 22:11:26 +1100 Anton Blanchard wrote:
>
> @@ -66,8 +66,12 @@ extern void ppc_warn_emulated_print(cons
>
> #else /* !CONFIG_PPC_EMULATED_STATS */
>
> -#define PPC_WARN_EMULATED(type) do { } while (0)
> +#define __PPC_WARN_EMULATED(type)do { } while (0)
>
perf_event wants a separate event for alignment and emulation faults,
so create another PPC_WARN_* define. 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
---
Index: linux.trees.git/arch/powerpc/i