linux/arch/mips/include/asm
Yoichi Yuasa 3592c3cd06 MIPS: Fix bug.h MIPS build regression
Commit: 3777808873 [bug.h: need linux/kernel.h
for TAINT_WARN.] breaks all MIPS builds.

  CC      arch/mips/kernel/machine_kexec.o
In file included from include/linux/kernel.h:20:0,
                 from include/asm-generic/bug.h:35,
                 from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bug.h:41,
                 from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:20,
                 from include/linux/bitops.h:22,
                 from include/linux/signal.h:38,
                 from include/linux/elfcore.h:5,
                 from include/linux/kexec.h:60,
                 from arch/mips/kernel/machine_kexec.c:9:
include/linux/log2.h: In function '__ilog2_u32':
include/linux/log2.h:34:2: error: implicit declaration of function 'fls' [-Werror=implicit-function-declaration]
include/linux/log2.h: In function '__ilog2_u64':
include/linux/log2.h:42:2: error: implicit declaration of function 'fls64' [-Werror=implicit-function-declaration]
include/linux/log2.h: In function '__roundup_pow_of_two':
include/linux/log2.h:63:2: error: implicit declaration of function 'fls_long' [-Werror=implicit-function-declaration]
In file included from include/linux/bitops.h:22:0,
                 from include/linux/signal.h:38,
                 from include/linux/elfcore.h:5,
                 from include/linux/kexec.h:60,
                 from arch/mips/kernel/machine_kexec.c:9:
/home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h: At top level:
/home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:615:19: error: static declaration of 'fls' follows non-static declaration
include/linux/log2.h:34:9: note: previous implicit declaration of 'fls' was here
In file included from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:651:0,
                 from include/linux/bitops.h:22,
                 from include/linux/signal.h:38,
                 from include/linux/elfcore.h:5,
                 from include/linux/kexec.h:60,
                 from arch/mips/kernel/machine_kexec.c:9:
include/asm-generic/bitops/fls64.h:18:28: error: static declaration of 'fls64' follows non-static declaration
include/linux/log2.h:42:9: note: previous implicit declaration of 'fls64' was here
In file included from include/linux/signal.h:38:0,
                 from include/linux/elfcore.h:5,
                 from include/linux/kexec.h:60,
                 from arch/mips/kernel/machine_kexec.c:9:
include/linux/bitops.h:160:24: error: conflicting types for 'fls_long'
include/linux/log2.h:63:16: note: previous implicit declaration of 'fls_long' was here
cc1: all warnings being treated as errors

make[2]: *** [arch/mips/kernel/machine_kexec.o] Error 1

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: yuasa@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Linuxppc-dev <linuxppc-dev@ozlabs.org>
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Cc: Linux-sh list <linux-sh@vger.kernel.org>
Cc: Chris Zankel <chris@zankel.net>
Patchwork: https://patchwork.linux-mips.org/patch/4000/
Tested-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-07-19 11:27:17 +02:00
..
dec
emma
fw
ip32
lasat
mach-ar7
mach-ath79 MIPS: ath79: add PCI_AR724X Kconfig symbol 2012-05-15 17:49:11 +02:00
mach-au1x00 Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
mach-bcm47xx bcma: add boardinfo struct 2012-05-16 12:45:21 -04:00
mach-bcm63xx MIPS: BCM63XX: Fix BCM6368 IPSec clock bit 2012-07-19 11:23:44 +02:00
mach-cavium-octeon
mach-cobalt
mach-db1x00
mach-dec
mach-emma2rh
mach-generic
mach-ip22
mach-ip27 sched/numa: Rewrite the CONFIG_NUMA sched domain support 2012-05-09 15:00:55 +02:00
mach-ip28
mach-ip32
mach-jazz
mach-jz4740 MIPS: JZ4740: Fix the JZ4740_IRQ_DMA macro 2012-04-27 00:12:48 +01:00
mach-lantiq MIPS: lantiq: remove orphaned code 2012-05-26 19:52:57 +01:00
mach-lasat
mach-loongson
mach-malta
mach-mipssim
mach-netlogic
mach-pnx833x
mach-pnx8550
mach-powertv
mach-rc32434
mach-rm
mach-sibyte
mach-tx39xx
mach-tx49xx
mach-vr41xx
mach-wrppmc
mach-yosemite
mips-boards MIPS: Clean-up GIC and vectored interrupts. 2012-07-06 23:56:00 +02:00
netlogic
octeon MIPS: OCTEON: Remove unused file. 2012-05-15 17:47:02 +02:00
pci
pmc-sierra/msp71xx
sgi
sibyte
sn
txx9 Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
vr41xx
xtalk
Kbuild
abi.h
addrspace.h
amon.h
arch_hweight.h
asm-offsets.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
auxvec.h
barrier.h Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
bcache.h
bitops.h MIPS: Fix bug.h MIPS build regression 2012-07-19 11:27:17 +02:00
bitsperlong.h
bmips.h
bootinfo.h
branch.h
break.h
bug.h
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
cacheops.h
cevt-r4k.h
checksum.h
clkdev.h MIPS: add clkdev.h 2012-05-15 17:49:20 +02:00
clock.h
cmp.h
cmpxchg.h MIPS: cmpxchg.h: Add missing include 2012-07-19 11:23:43 +02:00
compat-signal.h
compat.h
compiler.h
cop2.h
cpu-features.h
cpu-info.h
cpu.h MIPS: Don't panic on 5KEc. 2012-07-19 11:22:48 +02:00
cputime.h
current.h
debug.h
delay.h
device.h
div64.h
dma-mapping.h MIPS: adapt for dma_map_ops changes 2012-03-28 16:36:32 +02:00
dma.h Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
ds1287.h
dsp.h
edac.h
elf.h
emergency-restart.h
errno.h
exec.h Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
fb.h
fcntl.h
fixmap.h
floppy.h
fpregdef.h
fpu.h
fpu_emulator.h
ftrace.h
futex.h
gcmpregs.h
gic.h MIPS: Clean-up GIC and vectored interrupts. 2012-07-06 23:56:00 +02:00
gio_device.h
gpio.h
gt64120.h
hardirq.h
hazards.h
highmem.h
hugetlb.h
hw_irq.h
i8259.h
ide.h
inst.h MIPS: Fix typo multipy -> multiply 2012-07-19 11:23:43 +02:00
io.h MIPS: Fix bug.h MIPS build regression 2012-07-19 11:27:17 +02:00
ioctl.h
ioctls.h
ipcbuf.h
irq.h MIPS: Provide a symbol for the legacy performance counter interrupt. 2012-07-06 23:56:00 +02:00
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h
isadep.h
jazz.h
jazzdma.h
jump_label.h
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
kspd.h
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
linkage.h
local.h
local64.h
m48t37.h
mc146818-time.h
mc146818rtc.h
mips_machine.h
mips_mt.h
mipsmtregs.h MIPS: MT: Fix indentation damage. 2012-07-06 23:56:00 +02:00
mipsprom.h
mipsregs.h
mman.h coredump: add VM_NODUMP, MADV_NODUMP, MADV_CLEAR_NODUMP 2012-03-23 16:58:42 -07:00
mmu.h
mmu_context.h MIPS: Remove get_current_pgd(). 2012-04-27 17:16:29 +01:00
mmzone.h
module.h MIPS: Delete bogus module.h usage in termios.h 2012-05-15 17:48:51 +02:00
msc01_ic.h
msgbuf.h
mutex.h
nile4.h
paccess.h
page.h
param.h
parport.h
pci.h MIPS: pci: parse memory ranges from devicetree 2012-05-15 17:49:19 +02:00
percpu.h
perf_event.h
pgalloc.h
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h
pmon.h
poll.h
posix_types.h bury __kernel_nlink_t, make internal nlink_t consistent 2012-05-30 21:04:50 -04:00
prefetch.h
processor.h fork: move the real prepare_to_copy() users to arch_dup_task_struct() 2012-05-16 15:16:26 -07:00
prom.h MIPS: Add helper function to allow platforms to point at a DTB. 2012-05-15 17:49:19 +02:00
ptrace.h
r4k-timer.h
r4kcache.h
reboot.h
reg.h
regdef.h
resource.h
rm9k-ocd.h
rtlx.h
scatterlist.h
seccomp.h
sections.h
segment.h
sembuf.h
serial.h
setup.h MIPS: Move cache setup to setup_arch(). 2012-05-16 23:34:34 +02:00
sgialib.h
sgiarcs.h
sgidefs.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sim.h
smp-ops.h
smp.h
smtc.h
smtc_ipi.h
smtc_proc.h
smvp.h
sni.h
socket.h
sockios.h
sparsemem.h MIPS: Handle huge pages with 64KB base page size. 2012-05-15 17:47:02 +02:00
spinlock.h
spinlock_types.h
spram.h
stackframe.h
stacktrace.h
stat.h mips: get rid of nlink_t, use explictly-sized type (__u32 in all cases) 2012-05-29 23:28:42 -04:00
statfs.h
string.h
suspend.h
swab.h
switch_to.h MIPS: Fix race condition with FPU thread task flag during context switch. 2012-07-19 11:23:43 +02:00
sysmips.h
termbits.h
termios.h MIPS: Delete bogus module.h usage in termios.h 2012-05-15 17:48:51 +02:00
thread_info.h MIPS: Properly align the .data..init_task section. 2012-07-19 11:23:43 +02:00
time.h
timex.h
titan_dep.h
tlb.h
tlbdebug.h
tlbflush.h
tlbmisc.h
topology.h
traps.h MIPS: Introduce board_cache_error_setup() hook. 2012-05-16 23:34:33 +02:00
txx9irq.h
txx9pio.h
txx9tmr.h
types.h
uaccess.h
uasm.h MIPS: Don't use module.h just to export symbols in asm/uasm.h 2012-05-15 17:48:51 +02:00
ucontext.h
unaligned.h
unistd.h
user.h
vdso.h
vga.h
vpe.h
war.h
watch.h
wbflush.h
xor.h