Rusty Russell
6faf250789
[S390] allow usage of string functions in linux/string.h
...
In introducing a trivial "strstarts()" function in linux/string.h, we
hit the following error on s390:
In file included from include/linux/bitmap.h:8,
from include/linux/cpumask.h:142,
from include/linux/smp.h:12,
from /home/rusty/devel/kernel/patches/linux-2.6/arch/s390/include/asm/spinlock.h:14,
from include/linux/spinlock.h:88,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from arch/s390/lib/string.c:13:
include/linux/string.h: In function 'strstarts':
include/linux/string.h:124: error: implicit declaration of function 'strlen'
include/linux/string.h:124: warning: incompatible implicit declaration of built-in function 'strlen'
Because when including asm/string.h from arch/s390/lib/string.c we
don't declare the string ops we are about to define, and
linux/string.h barfs.
The fix is to declare them in this IN_ARCH_STRING_C case, but in
general I wonder if there's a neater fix.
Reported-by: linux-next
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com >
2009-03-26 15:24:23 +01:00
..
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-01-06 15:59:10 -08:00
2008-12-25 13:38:55 +01:00
2009-03-26 15:24:11 +01:00
2008-12-25 13:39:12 +01:00
2008-08-01 20:42:05 +02:00
2009-01-14 19:56:50 -08:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-01-09 12:15:06 +01:00
2009-01-09 12:15:06 +01:00
2008-08-01 20:42:05 +02:00
2009-01-09 12:15:06 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-31 15:11:48 +01:00
2009-02-19 15:19:19 +01:00
2009-03-26 15:24:10 +01:00
2008-08-01 20:42:05 +02:00
2009-03-26 15:24:05 +01:00
2008-08-01 20:42:05 +02:00
2008-10-10 21:33:58 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-01-23 16:40:28 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-25 13:39:06 +01:00
2008-12-25 13:39:03 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-03-26 15:24:05 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-25 13:38:57 +01:00
2008-08-01 20:42:05 +02:00
2009-01-14 19:56:50 -08:00
2008-08-01 20:42:05 +02:00
2008-08-15 08:35:42 -07:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-30 09:26:03 +10:30
2009-01-09 12:15:06 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-03-26 15:24:03 +01:00
2008-08-01 20:42:05 +02:00
2009-03-18 13:28:13 +01:00
2008-10-28 11:12:03 +01:00
2008-12-25 13:38:55 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-03-26 15:24:10 +01:00
2008-12-25 13:38:55 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-25 13:39:15 +01:00
2008-11-27 11:06:57 +01:00
2008-08-01 20:42:05 +02:00
2009-01-09 12:15:04 +01:00
2009-03-18 13:28:13 +01:00
2009-01-09 12:15:03 +01:00
2009-03-26 15:24:22 +01:00
2009-01-09 12:15:06 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-01-09 12:15:06 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-02-19 15:19:19 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-25 13:38:56 +01:00
2008-12-25 13:38:56 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-09-06 19:30:19 +01:00
2009-03-26 15:24:23 +01:00
2008-08-01 20:42:05 +02:00
2009-01-09 12:15:06 +01:00
2008-11-27 11:06:56 +01:00
2009-03-26 15:24:09 +01:00
2009-03-26 15:24:03 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-31 15:11:47 +01:00
2008-12-31 15:11:48 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2009-03-18 13:28:12 +01:00
2009-01-09 12:15:07 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00
2008-12-31 15:11:49 +01:00
2009-03-26 15:24:05 +01:00
2008-08-01 20:42:05 +02:00
2008-08-01 20:42:05 +02:00