diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-05-20 03:11:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-20 03:22:20 +0200 |
commit | 1477fcc290b3d5c2614bde98bf3b1154c538860d (patch) | |
tree | 3d0614dac48924dd8c47afbbf1fa867c3719dcd4 /kernel/sys.c | |
parent | Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-1477fcc290b3d5c2614bde98bf3b1154c538860d.tar.xz linux-1477fcc290b3d5c2614bde98bf3b1154c538860d.zip |
signal.h need a definition of struct task_struct
This fixes these build errors on powerpc:
In file included from arch/powerpc/mm/fault.c:18:
include/linux/signal.h:239: error: 'struct task_struct' declared inside parameter list
include/linux/signal.h:239: error: its scope is only this definition or declaration, which is probably not what you want
include/linux/signal.h:240: error: 'struct task_struct' declared inside parameter list
..
Exposed by commit e66eed651fd1 ("list: remove prefetching from regular
list iterators"), which removed the include of <linux/prefetch.h> from
<linux/list.h>.
Without that, linux/signal.h no longer accidentally got the declaration
of 'struct task_struct'.
Fix by properly declaring the struct, rather than introducing any new
header file dependency.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions