summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2017-10-19 13:18:15 -0500
committerSam Nelson <sam.nelson@ti.com>2017-11-20 14:03:56 -0500
commit2ab022006c5a078f1039e7dd3459f0f5aa8ed4ec (patch)
treee83fc5ab186715d2a1fa56c444cb3e288bc21c7a
parentd77135238d074b118063677d678ac6cac16cf863 (diff)
downloadlinuxutils-2ab022006c5a078f1039e7dd3459f0f5aa8ed4ec.tar.gz
cmemk: Use architecture agnostic uaccess.h header
Replace the architecture specific asm/uaccess.h with the Linux generic linux/uaccess.h header file. The architecture specific header files will be included by the generic header file. This fixes an issue when building the CMEM kernel module against 4.12+ kernels. Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r--src/cmem/module/cmemk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmem/module/cmemk.c b/src/cmem/module/cmemk.c
index 875c092..c682345 100644
--- a/src/cmem/module/cmemk.c
+++ b/src/cmem/module/cmemk.c
@@ -33,8 +33,8 @@
#include <linux/vmalloc.h>
#include <linux/sched.h>
#include <linux/slab.h>
+#include <linux/uaccess.h>
#include <asm/cacheflush.h>
-#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>