From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935401AbcIPOrO (ORCPT ); Fri, 16 Sep 2016 10:47:14 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34743 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933894AbcIPOrC (ORCPT ); Fri, 16 Sep 2016 10:47:02 -0400 From: Stafford Horne To: Jonas Bonn , Stefan Kristiansson , Andrew Morton Cc: linux-kernel@vger.kernel.org, Stafford Horne Subject: [PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options Date: Fri, 16 Sep 2016 23:43:04 +0900 Message-Id: <1474036985-20981-7-git-send-email-shorne@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474036985-20981-1-git-send-email-shorne@gmail.com> References: <1474036985-20981-1-git-send-email-shorne@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Kristiansson Signed-off-by: Stefan Kristiansson Signed-off-by: Stafford Horne --- arch/openrisc/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 489e7f9..2bcf8c3 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -98,6 +98,20 @@ config OPENRISC_HAVE_INST_DIV Select this if your implementation has a hardware divide instruction endmenu +config NR_CPUS + int "Maximum number of CPUs (2-32)" + range 2 32 + depends on SMP + default "2" + +config SMP + bool "Symmetric Multi-Processing support" + help + This enables support for systems with more than one CPU. If you have + a system with only one CPU, say N. If you have a system with more + than one CPU, say Y. + + If you don't know what to do here, say N. source kernel/Kconfig.hz source kernel/Kconfig.preempt -- 2.7.4