From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbcKNNrv (ORCPT ); Mon, 14 Nov 2016 08:47:51 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:32927 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbcKNNrM (ORCPT ); Mon, 14 Nov 2016 08:47:12 -0500 From: Stafford Horne To: stefan.kristiansson@saunalahti.fi, shorne@gmail.com, jonas@southpole.se Cc: linux@roeck-us.net, blue@cmd.nu, robh@kernel.org, linux-kernel@vger.kernel.org, openrisc@lists.librecores.org Subject: [PATCH v2 5/9] openrisc: add NR_CPUS Kconfig default value Date: Mon, 14 Nov 2016 22:30:35 +0900 Message-Id: <1e0020e0c4f622c7a386b50cd37f51e7d67814b4.1479128947.git.shorne@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479130239-30707-1-git-send-email-shorne@gmail.com> References: <1479130239-30707-1-git-send-email-shorne@gmail.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The build system now expects that NR_CPUS is defined. Follow 4cbbbb4 ("microblaze: Fix missing NR_CPUS in menuconfig") Signed-off-by: Stafford Horne --- arch/openrisc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 489e7f9..691e1af 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -98,6 +98,9 @@ config OPENRISC_HAVE_INST_DIV Select this if your implementation has a hardware divide instruction endmenu +config NR_CPUS + int + default "1" source kernel/Kconfig.hz source kernel/Kconfig.preempt -- 2.7.4