|
@@ -21,6 +21,7 @@
|
|
|
|
|
|
#include <linux/cpu.h>
|
|
#include <linux/cpu.h>
|
|
#include <linux/stacktrace.h>
|
|
#include <linux/stacktrace.h>
|
|
|
|
+#include "core.h"
|
|
#include "patch.h"
|
|
#include "patch.h"
|
|
#include "transition.h"
|
|
#include "transition.h"
|
|
#include "../sched/sched.h"
|
|
#include "../sched/sched.h"
|
|
@@ -28,8 +29,6 @@
|
|
#define MAX_STACK_ENTRIES 100
|
|
#define MAX_STACK_ENTRIES 100
|
|
#define STACK_ERR_BUF_SIZE 128
|
|
#define STACK_ERR_BUF_SIZE 128
|
|
|
|
|
|
-extern struct mutex klp_mutex;
|
|
|
|
-
|
|
|
|
struct klp_patch *klp_transition_patch;
|
|
struct klp_patch *klp_transition_patch;
|
|
|
|
|
|
static int klp_target_state = KLP_UNDEFINED;
|
|
static int klp_target_state = KLP_UNDEFINED;
|