security: fix ima kconfig warning
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 24 Feb 2012 19:28:05 +0000 (11:28 -0800)
committerJames Morris <james.l.morris@oracle.com>
Tue, 28 Feb 2012 00:01:15 +0000 (11:01 +1100)
Fix IMA kconfig warning on non-X86 architectures:

warning: (IMA) selects TCG_TIS which has unmet direct dependencies
(TCG_TPM && X86)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>

security/integrity/ima/Kconfig

index 063298a..35664fe 100644 (file)
@@ -10,7 +10,7 @@ config IMA
        select CRYPTO_MD5
        select CRYPTO_SHA1
        select TCG_TPM if HAS_IOMEM && !UML
-       select TCG_TIS if TCG_TPM
+       select TCG_TIS if TCG_TPM && X86
        help
          The Trusted Computing Group(TCG) runtime Integrity
          Measurement Architecture(IMA) maintains a list of hash