mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-29 18:11:09 +00:00
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>
|
||
|---|---|---|
| .. | ||
| asm | ||
| shared/sysdep | ||
| bug.c | ||
| bugs.c | ||
| delay.c | ||
| fault.c | ||
| ksyms.c | ||
| Makefile | ||
| mem.c | ||
| ptrace_user.c | ||
| ptrace.c | ||
| setjmp.S | ||
| signal.c | ||
| stub_segv.c | ||
| stub.S | ||
| syscall_table.c | ||
| syscalls.c | ||
| sysrq.c | ||
| tls.c | ||
| user-offsets.c | ||