x86/copy_user: Unify the code by removing the 64-bit asm _copy_*_user() variants
authorBorislav Petkov <bp@suse.de>
Mon, 31 Oct 2016 15:10:15 +0000 (16:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Nov 2016 06:41:27 +0000 (07:41 +0100)
commitadb402cd1461eef6e1a21db4532a3b9e6a6be853
treef87197dc1bd3a20bc15e79aad83fc9a5756b168f
parent05b93c19d50af2bd0d30fc000d817418ae8d33f1
x86/copy_user: Unify the code by removing the 64-bit asm _copy_*_user() variants

We already have the same functionality in usercopy_32.c. Share it with
64-bit and get rid of some more asm glue which is not needed anymore.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161031151015.22087-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/lib/copy_user_64.S
arch/x86/lib/usercopy.c
arch/x86/lib/usercopy_32.c