diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-14 05:21:17 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 09:45:19 -0400 |
commit | c80773e5a24df5f0604ed796b56edd8a14dbcce7 (patch) | |
tree | 50805323fd8e19953bcf44ad89686a7bcc485e85 /drivers/s390/crypto | |
parent | 0327dab0e88b2f4be6ad7dcd5af86d085d2c0603 (diff) |
s390/ap_bus: add missing ifdef
Get rid of this compile warning for CONFIG_32BIT:
drivers/s390/crypto/ap_bus.c:168:12: warning: ‘ap_configuration_available’
defined but not used [-Wunused-function]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r-- | drivers/s390/crypto/ap_bus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index cf5d9dc51c94..7b865a7300e6 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c | |||
@@ -165,10 +165,12 @@ static int ap_interrupts_available(void) | |||
165 | * | 165 | * |
166 | * Returns 1 if AP configuration information is available. | 166 | * Returns 1 if AP configuration information is available. |
167 | */ | 167 | */ |
168 | #ifdef CONFIG_64BIT | ||
168 | static int ap_configuration_available(void) | 169 | static int ap_configuration_available(void) |
169 | { | 170 | { |
170 | return test_facility(2) && test_facility(12); | 171 | return test_facility(2) && test_facility(12); |
171 | } | 172 | } |
173 | #endif | ||
172 | 174 | ||
173 | /** | 175 | /** |
174 | * ap_test_queue(): Test adjunct processor queue. | 176 | * ap_test_queue(): Test adjunct processor queue. |