kernel_optimize_test/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 [ARM] 5194/1: update .gitignore 2008-08-12 19:54:09 +01:00
big-endian.S
head-l7200.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-sa1100.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-shark.S
head-sharpsl.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-xscale.S [ARM] Eliminate useless includes of asm/mach-types.h 2008-08-07 09:40:04 +01:00
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