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

Configure Feed

Select the types of activity you want to include in your feed.

mips: fix bug.h build regression

Commit 377780887 ("bug.h: need linux/kernel.h for TAINT_WARN.") broke
all MIPS builds:

CC arch/mips/kernel/machine_kexec.o
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]
...

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Tested-by: John Crispin <blogic@openwrt.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Yoichi Yuasa and committed by
Linus Torvalds
893a0574 eea03c20

+1 -1
-1
arch/mips/include/asm/bitops.h
··· 17 17 #include <linux/irqflags.h> 18 18 #include <linux/types.h> 19 19 #include <asm/barrier.h> 20 - #include <asm/bug.h> 21 20 #include <asm/byteorder.h> /* sigh ... */ 22 21 #include <asm/cpu-features.h> 23 22 #include <asm/sgidefs.h>
+1
arch/mips/include/asm/io.h
··· 17 17 #include <linux/types.h> 18 18 19 19 #include <asm/addrspace.h> 20 + #include <asm/bug.h> 20 21 #include <asm/byteorder.h> 21 22 #include <asm/cpu.h> 22 23 #include <asm/cpu-features.h>