[FIX] change paths and remove redundant includes in ks_manager
authorAlexander Aksenov <a.aksenov@samsung.com>
Mon, 11 Nov 2013 10:46:45 +0000 (14:46 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Tue, 12 Nov 2013 07:37:07 +0000 (11:37 +0400)
Change absolute paths to relative ones in ks_manager #include.
Remove redundant includes for ks_manager

Change-Id: Ib84b2e2e59691301706644820afa4662ea5b09f5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
build.sh
ks_manager/ks_manager.c
ks_manager/ks_manager.h

index e87f476..8fd552c 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -63,7 +63,7 @@ make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${kprobe_dir
 
 ks_manager_module_name=swap_ks_manager.ko
 make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${ks_manager_dir} \
-       extra_cflags="-Werror -I${modules_dir} -I${kprobe_dir} -I${kprobe_arch_dir}" \
+       extra_cflags="-Werror -I${modules_dir} -I${kprobe_arch_dir}" \
        modules || exit 1
 
 uprobe_module_name=swap_uprobe.ko
index 3866399..2866b6a 100644 (file)
@@ -24,8 +24,8 @@
 
 #include <linux/module.h>
 #include <linux/slab.h>
-#include <dbi_kprobes.h>
-#include <dbi_kprobes_deps.h>
+#include <kprobe/dbi_kprobes.h>
+#include <kprobe/dbi_kprobes_deps.h>
 #include "ks_manager.h"
 
 struct probe {
index 5730133..9b87d8a 100644 (file)
@@ -25,7 +25,7 @@
  *
  */
 
-#include <dbi_kprobes.h>
+#include <kprobe/dbi_kprobes.h>
 
 struct kern_probe {
        struct jprobe jp;