diff options
author | Bharat Bhushan <r65777@freescale.com> | 2012-09-10 20:19:45 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-18 01:32:36 -0400 |
commit | 52ab3b2b1b1658f29b7d755f29c8fde8f89a92af (patch) | |
tree | 850e1226f28a65ffd9adf32d29e53927a0d9d7bd /arch/powerpc | |
parent | ea81245cf4dab5ef5428102a4a00281ed6e890a6 (diff) |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/uaccess.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h index 17bb40cad5bf..4db49590acf5 100644 --- a/arch/powerpc/include/asm/uaccess.h +++ b/arch/powerpc/include/asm/uaccess.h | |||
@@ -98,11 +98,6 @@ struct exception_table_entry { | |||
98 | * PowerPC, we can just do these as direct assignments. (Of course, the | 98 | * PowerPC, we can just do these as direct assignments. (Of course, the |
99 | * exception handling means that it's no longer "just"...) | 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 | #define get_user(x, ptr) \ | 102 | #define get_user(x, ptr) \ |
108 | __get_user_check((x), (ptr), sizeof(*(ptr))) | 103 | __get_user_check((x), (ptr), sizeof(*(ptr))) |
@@ -114,12 +109,6 @@ struct exception_table_entry { | |||
114 | #define __put_user(x, ptr) \ | 109 | #define __put_user(x, ptr) \ |
115 | __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) | 110 | __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) |
116 | 111 | ||
117 | #ifndef __powerpc64__ | ||
118 | #define __get_user64(x, ptr) \ | ||
119 | __get_user64_nocheck((x), (ptr), sizeof(*(ptr))) | ||
120 | #define __put_user64(x, ptr) __put_user(x, ptr) | ||
121 | #endif | ||
122 | |||
123 | #define __get_user_inatomic(x, ptr) \ | 112 | #define __get_user_inatomic(x, ptr) \ |
124 | __get_user_nosleep((x), (ptr), sizeof(*(ptr))) | 113 | __get_user_nosleep((x), (ptr), sizeof(*(ptr))) |
125 | #define __put_user_inatomic(x, ptr) \ | 114 | #define __put_user_inatomic(x, ptr) \ |