summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/uaccess.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2014-02-04 13:23:48 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-02-10 11:48:10 +0000
commitafdd3bba3ca18e6b0515b2e60101a932f5fa9afa (patch)
tree7808f5c8e869cc1927e4f477ea0858560161d023 /arch/arm/include/asm/uaccess.h
parent0f054e3ceab33a7fd3b41a9708286bce420d570d (diff)
downloadlinux-afdd3bba3ca18e6b0515b2e60101a932f5fa9afa.tar.gz
linux-afdd3bba3ca18e6b0515b2e60101a932f5fa9afa.tar.bz2
linux-afdd3bba3ca18e6b0515b2e60101a932f5fa9afa.zip
ARM: 7951/1: uaccess: use CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
Now that we select HAVE_EFFICIENT_UNALIGNED_ACCESS for ARMv6+ CPUs, replace the __LINUX_ARM_ARCH__ check in uaccess.h with the new symbol. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/uaccess.h')
-rw-r--r--arch/arm/include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h
index 72abdc541f38..12c3a5decc60 100644
--- a/arch/arm/include/asm/uaccess.h
+++ b/arch/arm/include/asm/uaccess.h
@@ -19,7 +19,7 @@
#include <asm/unified.h>
#include <asm/compiler.h>
-#if __LINUX_ARM_ARCH__ < 6
+#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
#include <asm-generic/uaccess-unaligned.h>
#else
#define __get_user_unaligned __get_user