Skip to content

Commit

Permalink
x86: Move <asm/asm-offsets.h> from trace_syscalls.c to asm/syscall.h
Browse files Browse the repository at this point in the history
This reverts commit d5e553d, 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 <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
  • Loading branch information
H. Peter Anvin committed Jan 7, 2012
1 parent 47db9e7 commit 72142fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions arch/x86/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <linux/sched.h>
#include <linux/err.h>
#include <asm/asm-offsets.h> /* For NR_syscalls */

extern const unsigned long sys_call_table[];

Expand Down
1 change: 0 additions & 1 deletion kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <linux/ftrace.h>
#include <linux/perf_event.h>
#include <asm/syscall.h>
#include <asm/asm-offsets.h>

#include "trace_output.h"
#include "trace.h"
Expand Down

0 comments on commit 72142fd

Please sign in to comment.