Commit 21254ebc authored by David A. Long's avatar David A. Long

ARM: Fix missing includes in kprobes sources

Make sure includes in ARM kprobes sources are done explicitly. Do not
rely on includes from other includes.
Signed-off-by: default avatarDavid A. Long <dave.long@linaro.org>
Acked-by: default avatarJon Medhurst <tixy@linaro.org>
parent 09294e31
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/ptrace.h> #include <linux/ptrace.h>
#include <linux/percpu.h> #include <linux/notifier.h>
#define __ARCH_WANT_KPROBES_INSN_SLOT #define __ARCH_WANT_KPROBES_INSN_SLOT
#define MAX_INSN_SIZE 2 #define MAX_INSN_SIZE 2
......
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/kprobes.h> #include <linux/kprobes.h>
#include <asm/system_info.h> #include <asm/system_info.h>
#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/bug.h>
#include "kprobes.h" #include "kprobes.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <asm/system_info.h>
#include "kprobes-test.h" #include "kprobes-test.h"
......
...@@ -201,7 +201,9 @@ ...@@ -201,7 +201,9 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/kprobes.h> #include <linux/kprobes.h>
#include <linux/errno.h>
#include <linux/stddef.h>
#include <linux/bug.h>
#include <asm/opcodes.h> #include <asm/opcodes.h>
#include "kprobes.h" #include "kprobes.h"
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include <linux/stringify.h> #include <linux/stringify.h>
#include <asm/traps.h> #include <asm/traps.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <linux/percpu.h>
#include <linux/bug.h>
#include "kprobes.h" #include "kprobes.h"
#include "patch.h" #include "patch.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment