[FIX] Fix build for ARM 50/41850/1
authorHyeongsik Min <hyeongsik.min@samsung.com>
Thu, 18 Jun 2015 09:46:01 +0000 (12:46 +0300)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 18 Jun 2015 09:46:01 +0000 (12:46 +0300)
Change-Id: If9b85f12cc9be777e9f6bf0b442b20861949ade5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
nsp/nsp_tdata.c
uprobe/arch/arm/swap-asm/swap_uprobes.h
us_manager/usm_msg.c

index a1d7eb3..d8e6f4f 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/spinlock.h>
 #include <writer/swap_msg.h>
 #include <kprobe/swap_kprobes.h>
+#include <ksyms/ksyms.h>
 #include "nsp_tdata.h"
 #include "nsp_print.h"
 
index 3a1a12c..c38988e 100644 (file)
@@ -35,6 +35,7 @@
 #define _ARM_SWAP_UPROBES_H
 
 
+#include <linux/uaccess.h>
 #include <swap-asm/swap_kprobes.h>     /* FIXME: for UPROBES_TRAMP_LEN */
 
 
index eef244b..2016b0b 100644 (file)
@@ -69,7 +69,7 @@ struct kmem_info {
 static void kmem_info_fill(struct kmem_info *info, struct mm_struct *mm)
 {
 #if defined(CONFIG_ARM)
-       info->name = "[vectors]"
+       info->name = "[vectors]";
        info->start = CONFIG_VECTORS_BASE;
        info->end = CONFIG_VECTORS_BASE + PAGE_SIZE;
 #elif defined(CONFIG_X86_32)