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

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>

authored by

Christophe Leroy and committed by
Michael Ellerman
5c35a02c ec0c464c

+11 -6
+1
arch/powerpc/include/asm/dcr-native.h
··· 25 25 #include <linux/spinlock.h> 26 26 #include <asm/cputable.h> 27 27 #include <asm/cpu_has_feature.h> 28 + #include <linux/stringify.h> 28 29 29 30 typedef struct { 30 31 unsigned int base;
-1
arch/powerpc/include/asm/ppc-opcode.h
··· 12 12 #ifndef _ASM_POWERPC_PPC_OPCODE_H 13 13 #define _ASM_POWERPC_PPC_OPCODE_H 14 14 15 - #include <linux/stringify.h> 16 15 #include <asm/asm-const.h> 17 16 18 17 #define __REG_R0 0
+2
arch/powerpc/include/asm/reg_fsl_emb.h
··· 7 7 #ifndef __ASM_POWERPC_REG_FSL_EMB_H__ 8 8 #define __ASM_POWERPC_REG_FSL_EMB_H__ 9 9 10 + #include <linux/stringify.h> 11 + 10 12 #ifndef __ASSEMBLY__ 11 13 /* Performance Monitor Registers */ 12 14 #define mfpmr(rn) ({unsigned int rval; \
-1
arch/powerpc/include/asm/synch.h
··· 3 3 #define _ASM_POWERPC_SYNCH_H 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/stringify.h> 7 6 #include <asm/feature-fixups.h> 8 7 #include <asm/asm-const.h> 9 8
-1
arch/powerpc/include/asm/thread_info.h
··· 27 27 #include <linux/cache.h> 28 28 #include <asm/processor.h> 29 29 #include <asm/page.h> 30 - #include <linux/stringify.h> 31 30 #include <asm/accounting.h> 32 31 33 32 /*
-1
arch/powerpc/kernel/prom.c
··· 23 23 #include <linux/spinlock.h> 24 24 #include <linux/types.h> 25 25 #include <linux/pci.h> 26 - #include <linux/stringify.h> 27 26 #include <linux/delay.h> 28 27 #include <linux/initrd.h> 29 28 #include <linux/bitops.h>
-1
arch/powerpc/kernel/prom_init.c
··· 27 27 #include <linux/types.h> 28 28 #include <linux/pci.h> 29 29 #include <linux/proc_fs.h> 30 - #include <linux/stringify.h> 31 30 #include <linux/delay.h> 32 31 #include <linux/initrd.h> 33 32 #include <linux/bitops.h>
+1
arch/powerpc/kvm/book3s_64_vio_hv.c
··· 26 26 #include <linux/slab.h> 27 27 #include <linux/hugetlb.h> 28 28 #include <linux/list.h> 29 + #include <linux/stringify.h> 29 30 30 31 #include <asm/tlbflush.h> 31 32 #include <asm/kvm_ppc.h>
-1
arch/powerpc/lib/locks.c
··· 15 15 #include <linux/kernel.h> 16 16 #include <linux/spinlock.h> 17 17 #include <linux/export.h> 18 - #include <linux/stringify.h> 19 18 #include <linux/smp.h> 20 19 21 20 /* waiting for a spinlock... */
+2
arch/powerpc/perf/req-gen/_begin.h
··· 3 3 #ifndef POWERPC_PERF_REQ_GEN_H_ 4 4 #define POWERPC_PERF_REQ_GEN_H_ 5 5 6 + #include <linux/stringify.h> 7 + 6 8 #define CAT2_STR_(t, s) __stringify(t/s) 7 9 #define CAT2_STR(t, s) CAT2_STR_(t, s) 8 10 #define I(...) __VA_ARGS__
+1
arch/powerpc/perf/req-gen/perf.h
··· 3 3 #define LINUX_POWERPC_PERF_REQ_GEN_PERF_H_ 4 4 5 5 #include <linux/perf_event.h> 6 + #include <linux/stringify.h> 6 7 7 8 #ifndef REQUEST_FILE 8 9 #error "REQUEST_FILE must be defined before including"
+1
arch/powerpc/platforms/cell/cbe_thermal.c
··· 49 49 #include <linux/device.h> 50 50 #include <linux/kernel.h> 51 51 #include <linux/cpu.h> 52 + #include <linux/stringify.h> 52 53 #include <asm/spu.h> 53 54 #include <asm/io.h> 54 55 #include <asm/prom.h>
+1
arch/powerpc/platforms/cell/spufs/sputrace.h
··· 3 3 #define _TRACE_SPUFS_H 4 4 5 5 #include <linux/tracepoint.h> 6 + #include <linux/stringify.h> 6 7 7 8 #undef TRACE_SYSTEM 8 9 #define TRACE_SYSTEM spufs
+1
arch/powerpc/platforms/powernv/vas.h
··· 15 15 #include <linux/io.h> 16 16 #include <linux/dcache.h> 17 17 #include <linux/mutex.h> 18 + #include <linux/stringify.h> 18 19 19 20 /* 20 21 * Overview of Virtual Accelerator Switchboard (VAS).
+1
arch/powerpc/platforms/pseries/mobility.c
··· 17 17 #include <linux/device.h> 18 18 #include <linux/delay.h> 19 19 #include <linux/slab.h> 20 + #include <linux/stringify.h> 20 21 21 22 #include <asm/machdep.h> 22 23 #include <asm/rtas.h>