crypto: padlock - Restore dependency on x86
Herbert Xu [Wed, 22 Apr 2009 05:00:15 +0000 (13:00 +0800)]
When we added 64-bit support to padlock the dependency on x86
was lost.  This causes build failures on non-x86 architectures.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

drivers/crypto/Kconfig

index 39eedd4..e748e55 100644 (file)
@@ -12,7 +12,7 @@ if CRYPTO_HW
 
 config CRYPTO_DEV_PADLOCK
        tristate "Support for VIA PadLock ACE"
-       depends on !UML
+       depends on X86 && !UML
        select CRYPTO_ALGAPI
        help
          Some VIA processors come with an integrated crypto engine