linux/arch/um/sys-i386
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
..
asm UML: Fix compiler warning due to missing task_struct declaration 2010-04-21 01:43:03 +02:00
shared/sysdep Add generic sys_old_mmap() 2010-03-12 15:52:32 -08:00
bug.c
bugs.c UML: make several more things static 2008-07-24 10:47:24 -07:00
checksum.S UML: make several more things static 2008-07-24 10:47:24 -07:00
delay.c
elfcore.c elf coredump: add extended numbering support 2010-03-06 11:26:46 -08:00
fault.c
ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
ldt.c UML: make several more things static 2008-07-24 10:47:24 -07:00
Makefile elf coredump: replace ELF_CORE_EXTRA_* macros by functions 2010-03-06 11:26:45 -08:00
ptrace_user.c
ptrace.c uml: tidy ptrace interface 2008-05-13 08:02:21 -07:00
setjmp.S
signal.c uml: fix a compile error 2008-10-20 08:52:34 -07:00
stub_segv.c
stub.S uml: fix a section warning 2009-06-16 19:47:47 -07:00
sys_call_table.S Add generic sys_old_mmap() 2010-03-12 15:52:32 -08:00
syscalls.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
sysrq.c
tls.c
user-offsets.c uml: tidy ptrace interface 2008-05-13 08:02:21 -07:00