Revision 3aa0ce825ade0cf5506e32ccf51d01fc8d22a9cf authored by Linus Torvalds on 14 October 2010, 21:32:06 UTC, committed by Linus Torvalds on 14 October 2010, 21:32:06 UTC
Tony Luck reports that the addition of the access_ok() check in commit 0eead9ab41da ("Don't dump task struct in a.out core-dumps") broke the ia64 compile due to missing the necessary header file includes. Rather than add yet another include (<asm/unistd.h>) to make everything happy, just uninline the silly core dump helper functions and move the bodies to fs/exec.c where they make a lot more sense. dump_seek() in particular was too big to be an inline function anyway, and none of them are in any way performance-critical. And we really don't need to mess up our include file headers more than they already are. Reported-and-tested-by: Tony Luck <tony.luck@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ae42d8d
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.0 KB |
Makefile | -rw-r--r-- | 587 bytes |
associola.c | -rw-r--r-- | 45.2 KB |
auth.c | -rw-r--r-- | 23.9 KB |
bind_addr.c | -rw-r--r-- | 13.8 KB |
chunk.c | -rw-r--r-- | 9.6 KB |
command.c | -rw-r--r-- | 2.3 KB |
debug.c | -rw-r--r-- | 4.6 KB |
endpointola.c | -rw-r--r-- | 13.0 KB |
input.c | -rw-r--r-- | 31.0 KB |
inqueue.c | -rw-r--r-- | 7.0 KB |
ipv6.c | -rw-r--r-- | 27.9 KB |
objcnt.c | -rw-r--r-- | 4.2 KB |
output.c | -rw-r--r-- | 22.2 KB |
outqueue.c | -rw-r--r-- | 53.2 KB |
primitive.c | -rw-r--r-- | 7.6 KB |
probe.c | -rw-r--r-- | 5.1 KB |
proc.c | -rw-r--r-- | 13.5 KB |
protocol.c | -rw-r--r-- | 37.0 KB |
sm_make_chunk.c | -rw-r--r-- | 98.7 KB |
sm_sideeffect.c | -rw-r--r-- | 47.4 KB |
sm_statefuns.c | -rw-r--r-- | 190.3 KB |
sm_statetable.c | -rw-r--r-- | 33.4 KB |
socket.c | -rw-r--r-- | 187.0 KB |
ssnmap.c | -rw-r--r-- | 3.5 KB |
sysctl.c | -rw-r--r-- | 6.8 KB |
transport.c | -rw-r--r-- | 19.3 KB |
tsnmap.c | -rw-r--r-- | 9.7 KB |
ulpevent.c | -rw-r--r-- | 29.6 KB |
ulpqueue.c | -rw-r--r-- | 27.9 KB |
Computing file changes ...