]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc: clean the inclusion of stringify.h
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 5 Jul 2018 16:24:59 +0000 (16:24 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 30 Jul 2018 12:48:17 +0000 (22:48 +1000)
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>
15 files changed:
arch/powerpc/include/asm/dcr-native.h
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/include/asm/reg_fsl_emb.h
arch/powerpc/include/asm/synch.h
arch/powerpc/include/asm/thread_info.h
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kvm/book3s_64_vio_hv.c
arch/powerpc/lib/locks.c
arch/powerpc/perf/req-gen/_begin.h
arch/powerpc/perf/req-gen/perf.h
arch/powerpc/platforms/cell/cbe_thermal.c
arch/powerpc/platforms/cell/spufs/sputrace.h
arch/powerpc/platforms/powernv/vas.h
arch/powerpc/platforms/pseries/mobility.c

index 4a2beef7427721eab0129a28696182047c659687..151dff555f5039e1fed593ae4432e38ffe48205a 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/spinlock.h>
 #include <asm/cputable.h>
 #include <asm/cpu_has_feature.h>
+#include <linux/stringify.h>
 
 typedef struct {
        unsigned int base;
index 954edf93515841da490a3d42647283476729227b..665af14850e4249c01153c200a85eff609f1a09d 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef _ASM_POWERPC_PPC_OPCODE_H
 #define _ASM_POWERPC_PPC_OPCODE_H
 
-#include <linux/stringify.h>
 #include <asm/asm-const.h>
 
 #define        __REG_R0        0
index d7ccf93e627964e1517fbee2385f61e05ef73c91..a21f529c43d96b548690aeff283820ce07a6e4a1 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __ASM_POWERPC_REG_FSL_EMB_H__
 #define __ASM_POWERPC_REG_FSL_EMB_H__
 
+#include <linux/stringify.h>
+
 #ifndef __ASSEMBLY__
 /* Performance Monitor Registers */
 #define mfpmr(rn)      ({unsigned int rval; \
index f6f8c75bbb248d0b5522a924341dc45f1d55b310..aca70fb43147a307384d6918b2d2224d0542f56a 100644 (file)
@@ -3,7 +3,6 @@
 #define _ASM_POWERPC_SYNCH_H 
 #ifdef __KERNEL__
 
-#include <linux/stringify.h>
 #include <asm/feature-fixups.h>
 #include <asm/asm-const.h>
 
index ae554b6fe6b98e1c42f974061bc33fc66ec1a3b2..3c0002044bc9e6237e0c5c7a18ca922e315d7231 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/cache.h>
 #include <asm/processor.h>
 #include <asm/page.h>
-#include <linux/stringify.h>
 #include <asm/accounting.h>
 
 /*
index 8f32f14ba50839b4250a692c2e4cc562509792b6..c4d7078e5295fa6eec81f1913783191a162aac06 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/pci.h>
-#include <linux/stringify.h>
 #include <linux/delay.h>
 #include <linux/initrd.h>
 #include <linux/bitops.h>
index c45fb463c9e59216f8494868b2e1c06ee0695ff2..0433bf24a10d68b1bbf0b2d0ed12007dcd677c8c 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/proc_fs.h>
-#include <linux/stringify.h>
 #include <linux/delay.h>
 #include <linux/initrd.h>
 #include <linux/bitops.h>
index d4bcd1b17b09300701cd846375584d4319af30ad..12318fa626553c81fef62956420dcecbe0b417b2 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/slab.h>
 #include <linux/hugetlb.h>
 #include <linux/list.h>
+#include <linux/stringify.h>
 
 #include <asm/tlbflush.h>
 #include <asm/kvm_ppc.h>
index b7b1237d4aa666c6dde3b4346b1c3c403616ac99..35a0ef932e1ad01b80220dd2e93130d06c9b2dc4 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/kernel.h>
 #include <linux/spinlock.h>
 #include <linux/export.h>
-#include <linux/stringify.h>
 #include <linux/smp.h>
 
 /* waiting for a spinlock... */
index 549f8782c52d027812743b512ba2e82e2c4797ca..a200b86eba3bc46ad1a911131d6a4f611f18c620 100644 (file)
@@ -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__
index 871a9a1766c282aa16a4903db110bdc8be451bd9..fa9bc804e67af1d3a31a9d3676457219a1c183b1 100644 (file)
@@ -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"
index 2c15ff09448351f57dcbcace80688c3e5925d38d..55aac74e1cb9ce8984209d0d601359a09730391d 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/device.h>
 #include <linux/kernel.h>
 #include <linux/cpu.h>
+#include <linux/stringify.h>
 #include <asm/spu.h>
 #include <asm/io.h>
 #include <asm/prom.h>
index d557e999b662a9c5e7ad3fdf7b5ab6dccbbbc897..1def11e911ac863028a513750738e9c2fc38ee37 100644 (file)
@@ -3,6 +3,7 @@
 #define _TRACE_SPUFS_H
 
 #include <linux/tracepoint.h>
+#include <linux/stringify.h>
 
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM spufs
index ae0100fd35bbb4caa976e873fb92fa35061311e9..f5493dbdd7ff6bfb84e4264c0b8bb0adbe72dd20 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/io.h>
 #include <linux/dcache.h>
 #include <linux/mutex.h>
+#include <linux/stringify.h>
 
 /*
  * Overview of Virtual Accelerator Switchboard (VAS).
index 8a8033a249c738f10bfa3bf60e861b2fc8c715d3..f0e30dc949888a578ecfd6939c65b1eecc210604 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/device.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/stringify.h>
 
 #include <asm/machdep.h>
 #include <asm/rtas.h>