diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-07-05 18:24:59 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-30 14:48:17 +0200 |
commit | 5c35a02c545a7bbe77f3a1ae337d9e29beed079b (patch) | |
tree | d453aa13f5c220df19135b22c4137b890d9715f6 /arch/powerpc/perf | |
parent | powerpc: move ASM_CONST and stringify_in_c() into asm-const.h (diff) | |
download | linux-5c35a02c545a7bbe77f3a1ae337d9e29beed079b.tar.xz linux-5c35a02c545a7bbe77f3a1ae337d9e29beed079b.zip |
powerpc: clean the inclusion of stringify.h
Only include linux/stringify.h is files using __stringify()
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf')
-rw-r--r-- | arch/powerpc/perf/req-gen/_begin.h | 2 | ||||
-rw-r--r-- | arch/powerpc/perf/req-gen/perf.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/perf/req-gen/_begin.h b/arch/powerpc/perf/req-gen/_begin.h index 549f8782c52d..a200b86eba3b 100644 --- a/arch/powerpc/perf/req-gen/_begin.h +++ b/arch/powerpc/perf/req-gen/_begin.h @@ -3,6 +3,8 @@ #ifndef POWERPC_PERF_REQ_GEN_H_ #define POWERPC_PERF_REQ_GEN_H_ +#include <linux/stringify.h> + #define CAT2_STR_(t, s) __stringify(t/s) #define CAT2_STR(t, s) CAT2_STR_(t, s) #define I(...) __VA_ARGS__ diff --git a/arch/powerpc/perf/req-gen/perf.h b/arch/powerpc/perf/req-gen/perf.h index 871a9a1766c2..fa9bc804e67a 100644 --- a/arch/powerpc/perf/req-gen/perf.h +++ b/arch/powerpc/perf/req-gen/perf.h @@ -3,6 +3,7 @@ #define LINUX_POWERPC_PERF_REQ_GEN_PERF_H_ #include <linux/perf_event.h> +#include <linux/stringify.h> #ifndef REQUEST_FILE #error "REQUEST_FILE must be defined before including" |