summaryrefslogtreecommitdiff
path: root/drivers/oprofile/cpu_buffer.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-03 12:03:42 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-02 10:42:31 +0300
commit4cf421e55d69016989548e0fb8585e69f54bd283 (patch)
treea059e7b730d7eb3e863fd2dea9a1e509ff66dfb9 /drivers/oprofile/cpu_buffer.c
parent5b825c3af1d8a0af4deb4a5eb349d0d0050c62e5 (diff)
downloadlinux-4cf421e55d69016989548e0fb8585e69f54bd283.tar.xz
sched/headers: Prepare for the removal of <asm/ptrace.h> from <linux/sched.h>
Fix up missing #includes in other places that rely on sched.h doing that for them. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r--drivers/oprofile/cpu_buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c
index 0581461c3a67..eda2633a393d 100644
--- a/drivers/oprofile/cpu_buffer.c
+++ b/drivers/oprofile/cpu_buffer.c
@@ -23,6 +23,8 @@
#include <linux/oprofile.h>
#include <linux/errno.h>
+#include <asm/ptrace.h>
+
#include "event_buffer.h"
#include "cpu_buffer.h"
#include "buffer_sync.h"