crypto: Build SPARC DES algorithms on SPARC only.
authorDave Jones <davej@redhat.com>
Tue, 2 Oct 2012 21:13:20 +0000 (17:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2012 03:03:14 +0000 (23:03 -0400)
Asking for this option on x86 seems a bit pointless.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/Kconfig

index 94f232f..957cc56 100644 (file)
@@ -796,6 +796,7 @@ config CRYPTO_DES
 
 config CRYPTO_DES_SPARC64
        tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
+       depends on SPARC64
        select CRYPTO_ALGAPI
        select CRYPTO_DES
        help