Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Remove unused __get_user64() and __put_user64()

__get_user64() and __put_user64() are not used.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Bharat Bhushan and committed by
Benjamin Herrenschmidt
52ab3b2b ea81245c

-11
-11
arch/powerpc/include/asm/uaccess.h
··· 98 98 * PowerPC, we can just do these as direct assignments. (Of course, the 99 99 * exception handling means that it's no longer "just"...) 100 100 * 101 - * The "user64" versions of the user access functions are versions that 102 - * allow access of 64-bit data. The "get_user" functions do not 103 - * properly handle 64-bit data because the value gets down cast to a long. 104 - * The "put_user" functions already handle 64-bit data properly but we add 105 - * "user64" versions for completeness 106 101 */ 107 102 #define get_user(x, ptr) \ 108 103 __get_user_check((x), (ptr), sizeof(*(ptr))) ··· 108 113 __get_user_nocheck((x), (ptr), sizeof(*(ptr))) 109 114 #define __put_user(x, ptr) \ 110 115 __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) 111 - 112 - #ifndef __powerpc64__ 113 - #define __get_user64(x, ptr) \ 114 - __get_user64_nocheck((x), (ptr), sizeof(*(ptr))) 115 - #define __put_user64(x, ptr) __put_user(x, ptr) 116 - #endif 117 116 118 117 #define __get_user_inatomic(x, ptr) \ 119 118 __get_user_nosleep((x), (ptr), sizeof(*(ptr)))