summaryrefslogtreecommitdiff
path: root/arch/metag/Kconfig
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-04-04 15:46:52 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2017-04-05 11:43:57 -0400
commit840db3f93849830c4a55c795ddd6057ad40d4f2d (patch)
tree1f9eab5f7853c2394c40029d38c003c24c34c1b0 /arch/metag/Kconfig
parenta98bba563d262065f230193c4b56c6758e8b4c3b (diff)
metag/usercopy: Switch to RAW_COPY_USER
Switch to using raw user copy instead of providing metag specific [__]copy_{to,from}_user[_inatomic](). This simplifies the metag uaccess.h and allows us to take advantage of extra checking in the generic versions. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-metag@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/metag/Kconfig')
-rw-r--r--arch/metag/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig
index 5b7a45d99cfb..ecce0c5ec8e8 100644
--- a/arch/metag/Kconfig
+++ b/arch/metag/Kconfig
@@ -1,5 +1,6 @@
config METAG
def_bool y
+ select ARCH_HAS_RAW_COPY_USER
select EMBEDDED
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS