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
..
2009-03-31 13:05:36 +10:30
2009-03-27 14:51:13 +01:00
2009-03-25 18:31:35 +00:00
2009-03-28 20:30:18 +00:00
2009-03-28 14:03:14 -07:00
2008-11-27 12:39:43 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 23:10:40 +00:00
2009-03-19 16:20:24 +00:00
2009-03-26 10:06:27 +02:00
2009-03-19 16:20:24 +00:00
2009-03-27 14:51:13 +01:00
2009-03-19 16:20:24 +00:00
2009-03-28 20:30:18 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-28 20:29:51 +00:00
2009-03-24 22:47:45 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-23 10:11:38 +08:00
2009-03-19 16:20:24 +00:00
2009-03-19 23:10:40 +00:00
2009-03-19 23:10:40 +00:00
2009-03-27 14:51:14 +01:00
2009-03-13 10:35:05 +01:00
2009-03-19 16:20:24 +00:00
2009-03-28 20:29:51 +00:00
2009-03-25 18:31:35 +00:00
2009-03-25 19:51:46 +00:00
2009-03-28 20:29:51 +00:00
2009-03-19 16:20:24 +00:00
2009-03-30 12:43:22 -03:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-08 12:35:36 +00:00
2008-11-28 15:36:49 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2008-11-27 12:38:00 +00:00
2009-03-05 12:00:59 +00:00
2009-03-26 22:46:22 +00:00
2009-02-26 23:21:49 +00:00
2009-03-25 10:15:00 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-19 16:20:24 +00:00
2009-03-28 20:30:18 +00:00
2008-09-06 11:35:55 +01:00
2009-03-28 14:03:14 -07:00
2008-11-09 11:18:36 +00:00
2009-03-30 12:42:53 -03:00
2009-03-28 19:35:02 +00:00
2009-03-28 20:29:51 +00:00
2009-03-26 21:30:11 +08:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-10 16:33:42 +00:00
2009-03-23 16:12:37 -04:00
2009-02-12 10:59:44 +00:00
2009-03-26 23:10:11 +00:00
2007-10-12 23:43:02 +01:00
2009-02-27 20:57:46 +00:00
2009-03-26 23:10:11 +00:00