Selaa lähdekoodia

trace: Include <asm/asm-offsets.h> in trace_syscalls.c

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>
H. Peter Anvin 13 vuotta sitten
vanhempi
commit
d5e553d6e0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      kernel/trace/trace_syscalls.c

+ 1 - 0
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"