aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-01-06 03:19:28 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:53 -0500
commit347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 (patch)
treea6ec76690127e87fe6efa42b6238caadd6c07e7b /arch/s390/crypto
parent9bbc8346fb21fad3f678220b067450e436e45dbf (diff)
[PATCH] s390: cleanup Kconfig
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/crypto')
-rw-r--r--arch/s390/crypto/crypt_s390.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/s390/crypto/crypt_s390.h b/arch/s390/crypto/crypt_s390.h
index d6712cfa6def..d1c259a7fe33 100644
--- a/arch/s390/crypto/crypt_s390.h
+++ b/arch/s390/crypto/crypt_s390.h
@@ -112,7 +112,7 @@ struct crypt_s390_query_status {
112 * [ret] is the variable to receive the error code 112 * [ret] is the variable to receive the error code
113 * [ERR] is the error code value 113 * [ERR] is the error code value
114 */ 114 */
115#ifndef __s390x__ 115#ifndef CONFIG_64BIT
116#define __crypt_s390_fixup \ 116#define __crypt_s390_fixup \
117 ".section .fixup,\"ax\" \n" \ 117 ".section .fixup,\"ax\" \n" \
118 "7: lhi %0,%h[e1] \n" \ 118 "7: lhi %0,%h[e1] \n" \
@@ -129,7 +129,7 @@ struct crypt_s390_query_status {
129 " .long 0b,7b \n" \ 129 " .long 0b,7b \n" \
130 " .long 1b,8b \n" \ 130 " .long 1b,8b \n" \
131 ".previous" 131 ".previous"
132#else /* __s390x__ */ 132#else /* CONFIG_64BIT */
133#define __crypt_s390_fixup \ 133#define __crypt_s390_fixup \
134 ".section .fixup,\"ax\" \n" \ 134 ".section .fixup,\"ax\" \n" \
135 "7: lhi %0,%h[e1] \n" \ 135 "7: lhi %0,%h[e1] \n" \
@@ -142,7 +142,7 @@ struct crypt_s390_query_status {
142 " .quad 0b,7b \n" \ 142 " .quad 0b,7b \n" \
143 " .quad 1b,8b \n" \ 143 " .quad 1b,8b \n" \
144 ".previous" 144 ".previous"
145#endif /* __s390x__ */ 145#endif /* CONFIG_64BIT */
146 146
147/* 147/*
148 * Standard code for setting the result of s390 crypto instructions. 148 * Standard code for setting the result of s390 crypto instructions.
@@ -150,10 +150,10 @@ struct crypt_s390_query_status {
150 * [result]: the register containing the result (e.g. second operand length 150 * [result]: the register containing the result (e.g. second operand length
151 * to compute number of processed bytes]. 151 * to compute number of processed bytes].
152 */ 152 */
153#ifndef __s390x__ 153#ifndef CONFIG_64BIT
154#define __crypt_s390_set_result \ 154#define __crypt_s390_set_result \
155 " lr %0,%[result] \n" 155 " lr %0,%[result] \n"
156#else /* __s390x__ */ 156#else /* CONFIG_64BIT */
157#define __crypt_s390_set_result \ 157#define __crypt_s390_set_result \
158 " lgr %0,%[result] \n" 158 " lgr %0,%[result] \n"
159#endif 159#endif