Jan Kiszka 4cb3ca7cd7 UML: Fix compiler warning due to missing task_struct declaration
We can't pull in linux/sched.h due to circular dependency, so just
forward-declare the struct.

This fixes the following warning:

  CC      arch/um/sys-i386/elfcore.o
In file included from /data/linux-2.6/include/linux/elf.h:8,
                 from /data/linux-2.6/arch/um/sys-i386/elfcore.c:2:
arch/um/sys-i386/asm/elf.h:78: warning: ‘struct task_struct’ declared inside parameter list
arch/um/sys-i386/asm/elf.h:78: warning: its scope is only this definition or declaration, which is probably not what you want

I guess not many people build against i386 hosts anymore, so this
remained widely unnoticed.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2010-04-21 01:43:03 +02:00
..
2008-02-05 09:44:31 -08:00
2008-02-05 09:44:25 -08:00
2007-10-16 09:43:05 -07:00
2009-04-01 08:59:17 -07:00
2006-09-26 08:49:05 -07:00
2010-04-20 17:47:24 +02:00
2008-02-05 09:44:28 -08:00
2009-06-16 19:47:47 -07:00
2008-02-05 09:44:31 -08:00
2008-05-13 08:02:21 -07:00