x86: Move <asm/asm-offsets.h> from trace_syscalls.c to asm/syscall.h
authorH. Peter Anvin <hpa@zytor.com>
Sat, 7 Jan 2012 22:10:18 +0000 (14:10 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 7 Jan 2012 22:10:18 +0000 (14:10 -0800)
commit72142fd4109105c6bd21658966ca5e93c1684081
treee88f06da41eb6a23c606af5b57f268bc4894fdf2
parent47db9e7c808a45b1f86971f25eca5e38fa95ab86
x86: Move <asm/asm-offsets.h> from trace_syscalls.c to asm/syscall.h

This reverts commit d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa, which
caused large numbers of build warnings on PowerPC.

This moves the #include <asm/asm-offsets.h> to <asm/syscall.h>, which
makes some kind of sense since NR_syscalls is syscalls related.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/20111214181545.6e13bc954cb7ddce9086e861@canb.auug.org.au
arch/x86/include/asm/syscall.h
kernel/trace/trace_syscalls.c