diff options
Diffstat (limited to 'arch/s390/crypto/crypt_s390.h')
-rw-r--r-- | arch/s390/crypto/crypt_s390.h | 10 |
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 |