android_kernel_xiaomi_sm8350/arch/arm/boot/compressed
Rusty Russell aa0d3bb77e arm: allow usage of string functions in linux/string.h
In introducing a trivial "strstarts()" function in linux/string.h, we
hit:

	arch/arm/boot/compressed/misc.o: In function `strstarts':
	misc.c:(.text+0x368): undefined reference to `strlen'
	misc.c:(.text+0x378): undefined reference to `strncmp'

This is because of "CFLAGS_misc.o := -Dstatic=" in the Makefile.
"static inline strstarts(...)" becomes non-inline, and refers to the
other string ops.

The simplest workaround is to include asm/string.h.  This makes sense
anyway, since lib/string.c won't be linked against this so we can't
use those functions anyway.

Compile tested here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-03-31 13:05:36 +10:30
..
.gitignore
big-endian.S
head-l7200.S
head-sa1100.S
head-shark.S
head-sharpsl.S
head-xscale.S
head.S Merge branch 'for-rmk' of git://gitorious.org/linux-gemini/mainline into devel 2009-03-26 23:10:11 +00:00
ll_char_wr.S
Makefile [ARM] clps7500: remove support 2008-11-27 12:38:11 +00:00
Makefile.debug
misc.c arm: allow usage of string functions in linux/string.h 2009-03-31 13:05:36 +10:30
ofw-shark.c
piggy.S
vmlinux.lds.in [ARM] 5383/2: unwind: Add core support for ARM stack unwinding 2009-02-19 11:26:24 +00:00