Olaf Hering
dbc11f539d
[POWERPC] Include stddef.h in asm-powerpc/current.h to get offsetof
On Tue, Oct 31, Hugh Dickins wrote:
> +++ linux/include/asm-powerpc/current.h 2006-10-30 19:27:05.000000000 +0000
> +static inline struct task_struct *get_current(void)
> +{
> + struct task_struct *task;
> +
> + __asm__ __volatile__("ld %0,%1(13)"
> + : "=r" (task)
> + : "i" (offsetof(struct paca_struct, __current)));
This breaks compile of 2.6.18.8:
CC [M] drivers/media/video/pwc/pwc-uncompress.o
In file included from /home/olaf/kernel/linux-2.6.18.8/drivers/media/video/pwc/pwc-uncompress.c:29:
include2/asm/current.h: In function 'get_current':
include2/asm/current.h:23: warning: implicit declaration of function 'offsetof'
include2/asm/current.h:23: error: expected expression before 'struct'
make[5]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-09 15:03:24 +11:00
..
2007-02-16 14:00:20 +11:00
2006-12-11 12:29:27 -08:00
2007-01-09 17:03:02 +11:00
2006-12-13 09:27:08 -08:00
2007-02-13 22:03:06 +01:00
2007-02-07 14:03:19 +11:00
2007-03-09 15:03:24 +11:00
2007-02-16 14:00:19 +11:00
2007-02-07 14:03:23 +11:00
2007-01-30 08:39:21 -08:00
2007-01-24 21:13:56 +11:00
2007-02-08 15:02:35 +11:00
2007-02-13 15:35:52 +11:00
2007-02-07 14:03:20 +11:00
2006-12-07 08:39:21 -08:00
2007-02-07 14:03:23 +11:00
2006-12-08 17:10:18 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:22 +11:00
2007-01-26 01:45:32 -06:00
2007-01-24 21:13:59 +11:00
2007-02-12 09:48:44 -08:00
2007-02-06 22:55:19 -06:00
2007-01-26 17:27:40 -05:00
2007-02-07 14:03:21 +11:00
2006-12-11 16:35:07 +11:00
2007-02-07 14:03:17 +11:00
2007-02-08 15:29:22 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:19 +11:00
2007-02-07 14:03:19 +11:00
2006-12-08 08:28:51 -08:00
2007-01-24 21:13:59 +11:00
2006-12-08 17:10:18 +11:00
2006-12-07 08:39:25 -08:00
2007-02-16 14:00:19 +11:00
2007-01-11 18:18:22 -08:00
2007-03-08 15:31:40 +11:00
2007-02-16 14:00:19 +11:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:44 -08:00
2007-02-07 14:03:22 +11:00
2006-12-08 17:10:22 +11:00
2006-12-07 08:39:46 -08:00
2007-02-07 14:03:21 +11:00
2007-02-07 14:03:21 +11:00
2007-02-13 21:55:40 +01:00
2007-02-06 22:55:19 -06:00
2007-02-13 15:35:52 +11:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2006-12-13 09:05:49 -08:00
2007-02-07 14:03:17 +11:00
2007-03-05 07:57:51 -08:00
2006-12-04 19:41:15 -08:00
2007-02-17 16:12:54 -06:00
2007-02-14 11:55:16 +11:00
2007-03-08 15:43:47 +11:00
2007-02-13 15:35:52 +11:00