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>
This commit is contained in:

committed by
Michael Ellerman

parent
ec0c464cdb
commit
5c35a02c54
@@ -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__
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user