[PATCH] RAS: Show Kconfig menu only on supported architectures

From: Borislav Petkov
Date: Tue Oct 13 2015 - 14:23:19 EST


From: Borislav Petkov <bp@xxxxxxx>
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 <geert@xxxxxxxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/