OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79a7fc
)
trace: Include <asm/asm-offsets.h> in trace_syscalls.c
author
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 11 Nov 2011 23:52:52 +0000
(15:52 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 17 Nov 2011 21:35:36 +0000
(13:35 -0800)
Include <asm/asm-offsets.h> into trace_syscalls.c, to allow for
NR_syscalls to be automatically generated.
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
kernel/trace/trace_syscalls.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace_syscalls.c
b/kernel/trace/trace_syscalls.c
index
cb65454
..
5f35f6f
100644
(file)
--- a/
kernel/trace/trace_syscalls.c
+++ b/
kernel/trace/trace_syscalls.c
@@
-6,6
+6,7
@@
#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"