|
@@ -28,6 +28,7 @@
|
|
|
#include <linux/perf_event.h>
|
|
#include <linux/perf_event.h>
|
|
|
#include <linux/ptrace.h>
|
|
#include <linux/ptrace.h>
|
|
|
#include <linux/smp.h>
|
|
#include <linux/smp.h>
|
|
|
|
|
+#include <linux/uaccess.h>
|
|
|
|
|
|
|
|
#include <asm/compat.h>
|
|
#include <asm/compat.h>
|
|
|
#include <asm/current.h>
|
|
#include <asm/current.h>
|
|
@@ -36,7 +37,6 @@
|
|
|
#include <asm/traps.h>
|
|
#include <asm/traps.h>
|
|
|
#include <asm/cputype.h>
|
|
#include <asm/cputype.h>
|
|
|
#include <asm/system_misc.h>
|
|
#include <asm/system_misc.h>
|
|
|
-#include <asm/uaccess.h>
|
|
|
|
|
|
|
|
|
|
/* Breakpoint currently in use for each BRP. */
|
|
/* Breakpoint currently in use for each BRP. */
|
|
|
static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[ARM_MAX_BRP]);
|
|
static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[ARM_MAX_BRP]);
|