kernel_optimize_test/arch/mips
Paul Burton b47e9c62f2 MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated()
arch/mips/generic/init.c provides an implementation of the
plat_fdt_relocated() function, but doesn't include the asm/bootinfo.h
header which declares it. This leads to a warning from sparse:

arch/mips/generic/init.c:94:13: warning: symbol 'plat_fdt_relocated' was
  not declared. Should it be static?

Fix this by including asm/bootinfo.h to get the declaration of
plat_fdt_relocated(). We also #ifdef our definition of
plat_fdt_relocated() such that it is only provided when
CONFIG_RELOCATABLE is set, matching the header & avoiding the redundant
function for non-relocatable kernels.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17166/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-08-29 15:21:54 +02:00
..
alchemy MIPS: Alchemy: Threaded carddetect irqs for devboards 2017-08-29 15:21:53 +02:00
ar7
ath25
ath79 MIPS: Convert to using %pOF instead of full_name 2017-08-29 15:21:50 +02:00
bcm47xx
bcm63xx
bmips
boot MIPS: Add Onion Omega2+ board 2017-08-29 15:21:54 +02:00
cavium-octeon MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
cobalt
configs MIPS: configs: Add Onion Omega2+ defconfig 2017-08-29 15:21:54 +02:00
dec MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression 2017-08-07 16:31:03 +02:00
emma
fw MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
generic MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated() 2017-08-29 15:21:54 +02:00
include MIPS: Alchemy: update cpu feature overrides 2017-08-29 15:21:53 +02:00
jazz
jz4740 MIPS: jz4740: Remove custom GPIO code 2017-05-22 17:26:34 +02:00
kernel MIPS: signal: Remove unreachable code from force_fcr31_sig(). 2017-08-29 15:21:52 +02:00
kvm PPC: 2017-07-06 18:38:31 -07:00
lantiq clk: Provide dummy of_clk_get_from_provider() for compile-testing 2017-06-02 10:51:34 -07:00
lasat
lib Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-07-15 10:59:54 -07:00
loongson32
loongson64 MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
math-emu MIPS: math-emu: do not use bools for arithmetic 2017-08-29 15:21:53 +02:00
mm MIPS: Consolidate coherent and non-coherent dma_alloc code 2017-08-29 15:21:54 +02:00
mti-malta clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
net MIPS: Add missing file for eBPF JIT. 2017-08-04 11:23:58 -07:00
netlogic MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
oprofile
paravirt MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
pci MIPS: pci-mt7620: explicitly request exclusive reset control 2017-08-29 15:21:51 +02:00
pic32 clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
pistachio clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
pmcs-msp71xx
pnx833x
power
ralink MIPS: Add Onion Omega2+ board 2017-08-29 15:21:54 +02:00
rb532
sgi-ip22 mips: sgi-ip22: ecard: use dev_groups and not dev_attrs for bus_type 2017-06-09 11:00:45 +02:00
sgi-ip27 MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
sgi-ip32
sibyte MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
sni
txx9
vdso MIPS: VDSO: Fix clobber lists in fallback code paths 2017-08-07 13:53:25 +02:00
vr41xx
xilfpga clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
Kbuild
Kbuild.platforms
Kconfig MIPS: Move r4k FP code from r4k_switch.S to r4k_fpu.S 2017-08-29 15:21:51 +02:00
Kconfig.debug
Makefile MIPS: Allow platform to specify multiple its.S files 2017-08-29 15:21:52 +02:00
Makefile.postlink