From: Borislav Petkov <b...@suse.de>
Date: Tue, 13 Oct 2015 20:18:45 +0200
Subject: [PATCH] RAS: Show Kconfig menu only on supported architectures

Make it depend on only those architectures which provide APIs to RAS
features so that it remains invisible on the remaining ones.

Requested-by: Geert Uytterhoeven <ge...@linux-m68k.org>
Signed-off-by: Borislav Petkov <b...@suse.de>
---
 drivers/ras/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ras/Kconfig b/drivers/ras/Kconfig
index 4c3c67d13254..46021e15a6a6 100644
--- a/drivers/ras/Kconfig
+++ b/drivers/ras/Kconfig
@@ -1,5 +1,6 @@
 menuconfig RAS
        bool "Reliability, Availability and Serviceability (RAS) features"
+       depends on X86 || COMPILE_TEST
        help
          Reliability, availability and serviceability (RAS) is a computer
          hardware engineering term. Computers designed with higher levels
-- 
2.3.5


-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to