Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1246033

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

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject [PATCH] RAS: Show Kconfig menu only on supported architectures
Date 2015-10-13 20:30 +0200
Message-ID <qjcuK-6f1-15@gated-at.bofh.it> (permalink)
References <q3AB6-5ck-35@gated-at.bofh.it> <q40vv-uu-15@gated-at.bofh.it> <q4abw-5U4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] RAS: Show Kconfig menu only on supported architectures Borislav Petkov <bp@alien8.de> - 2015-10-13 20:30 +0200
  Re: [PATCH] RAS: Show Kconfig menu only on supported architectures kbuild test robot <lkp@intel.com> - 2015-10-13 21:10 +0200
  Re: [PATCH] RAS: Show Kconfig menu only on supported architectures kbuild test robot <lkp@intel.com> - 2015-10-13 22:50 +0200
  Re: [PATCH] RAS: Show Kconfig menu only on supported architectures kbuild test robot <lkp@intel.com> - 2015-10-16 10:20 +0200

csiph-web