kernel_optimize_test/arch/um/sys-x86_64
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 x86, um: get rid of excessive includes of uml-config.h 2008-10-22 22:55:22 -07:00
bug.c uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
bugs.c uml: further bugs.c tidying 2008-02-05 09:44:25 -08:00
delay.c [PATCH] uml: fix unreasonably long udelay 2007-04-02 10:06:08 -07:00
fault.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
ksyms.c uml: memcpy export needs to follow host declaration 2008-06-06 11:29:10 -07:00
Makefile x86: Fix breakage of UML from the changes in the rwsem system 2010-01-17 21:51:29 -08:00
mem.c uml: remove useless comments 2009-04-01 08:59:17 -07:00
ptrace_user.c uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
ptrace.c uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
setjmp.S
signal.c UML: add kernel.h include to signal.c 2010-04-20 17:47:24 +02:00
stub_segv.c uml: simplify SIGSEGV handling 2008-02-05 09:44:28 -08:00
stub.S uml: fix a section warning 2009-06-16 19:47:47 -07:00
syscall_table.c improve sys_newuname() for compat architectures 2010-03-12 15:52:32 -08:00
syscalls.c improve sys_newuname() for compat architectures 2010-03-12 15:52:32 -08:00
sysrq.c uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
tls.c uml: rename pt_regs general-purpose register file 2007-10-16 09:43:06 -07:00
user-offsets.c uml: tidy ptrace interface 2008-05-13 08:02:21 -07:00