diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-02-26 13:03:32 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-03-07 10:06:09 -0500 |
commit | 8643e92b5266a34cb9c66388983fc15ac37171d5 (patch) | |
tree | 8fb75247b1bb00ae47b51286821fc9b7c35acda5 /include/trace/events/migrate.h | |
parent | f479447ad94879299b08b3f0b40f481baaff7eb7 (diff) | |
download | linux-8643e92b5266a34cb9c66388983fc15ac37171d5.tar.gz linux-8643e92b5266a34cb9c66388983fc15ac37171d5.tar.bz2 linux-8643e92b5266a34cb9c66388983fc15ac37171d5.zip |
tracing: Fix event header migrate.h to include tracepoint.h
The trace event headers are required to include tracepoint.h. The only reason
they worked now is because module.h included tracepoint.h, and that will soon
change.
Link: http://lkml.kernel.org/r/20140226190644.591040764@goodmis.org
Fixes: 7b2a2d4a18ff "mm: migrate: Add a tracepoint for migrate_pages"
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events/migrate.h')
-rw-r--r-- | include/trace/events/migrate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/migrate.h b/include/trace/events/migrate.h index 3075ffbb9a83..4e4f2f8b1ac2 100644 --- a/include/trace/events/migrate.h +++ b/include/trace/events/migrate.h @@ -4,6 +4,8 @@ #if !defined(_TRACE_MIGRATE_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_MIGRATE_H +#include <linux/tracepoint.h> + #define MIGRATE_MODE \ {MIGRATE_ASYNC, "MIGRATE_ASYNC"}, \ {MIGRATE_SYNC_LIGHT, "MIGRATE_SYNC_LIGHT"}, \ |