From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbbJMSXP (ORCPT ); Tue, 13 Oct 2015 14:23:15 -0400 Received: from mail.skyhub.de ([78.46.96.112]:45828 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801AbbJMSXM (ORCPT ); Tue, 13 Oct 2015 14:23:12 -0400 Date: Tue, 13 Oct 2015 20:23:09 +0200 From: Borislav Petkov To: Geert Uytterhoeven Cc: Ingo Molnar , Linus Torvalds , "linux-kernel@vger.kernel.org" , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Peter Zijlstra Subject: [PATCH] RAS: Show Kconfig menu only on supported architectures Message-ID: <20151013182308.GE20700@pd.tnic> References: <20150831165203.GA5178@gmail.com> <20150902065039.GA10289@nazgul.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150902065039.GA10289@nazgul.tnic> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov 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 Signed-off-by: Borislav Petkov --- 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.