Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf powerpc: Include util/util.h and remove stringify macros

The stringify macros are defined in tools/perf/util/util.h and don't
need to be redfined specfiically for powerpc.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Ellerman <michaele@au1.ibm.com>
Link: http://lkml.kernel.org/r/20140724074718.GB18829@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Sukadev Bhattiprolu and committed by
Arnaldo Carvalho de Melo
c94b93cb 0524798c

+1 -3
+1 -3
tools/perf/arch/powerpc/util/header.c
··· 5 5 #include <string.h> 6 6 7 7 #include "../../util/header.h" 8 - 9 - #define __stringify_1(x) #x 10 - #define __stringify(x) __stringify_1(x) 8 + #include "../../util/util.h" 11 9 12 10 #define mfspr(rn) ({unsigned long rval; \ 13 11 asm volatile("mfspr %0," __stringify(rn) \