]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm/32: Add support for 64-bit __get_user() on 32-bit kernels
authorBenjamin LaHaise <bcrl@kvack.org>
Wed, 9 Mar 2016 20:05:56 +0000 (15:05 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Apr 2016 11:01:03 +0000 (13:01 +0200)
commit0c26098f9df7434c3224f7a399dde43e357d1e55
tree4ea0aaea572cb99b0f619957fe7a463168fcebfe
parent3ed7c5c0ff4928951228ef67c40522175c562922
x86/mm/32: Add support for 64-bit __get_user() on 32-bit kernels

The existing __get_user() implementation does not support fetching
64-bit values on 32-bit x86.  Implement this in a way that does not
generate any incorrect warnings as cautioned by Russell King.

Test code available at:

  http://www.kvack.org/~bcrl/x86_32-get_user.tar .

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Cc: Andy Lutomirski <luto@amacapital.net>
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: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uaccess.h