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


Groups > linux.kernel > #1485067

[PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options

From Stafford Horne <shorne@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options
Date 2016-09-16 16:50 +0200
Message-ID <si2CK-608-19@gated-at.bofh.it> (permalink)
References <si2CJ-608-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
 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

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


Thread

[PATCH 0/7] openrisc: Misc fixes from backlog Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
  [PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
    Re: [PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options Jonas Bonn <jonas@southpole.se> - 2016-09-19 16:40 +0200
      Re: [PATCH 6/7] openrisc: add SMP and NR_CPUS Kconfig options Stafford Horne <shorne@gmail.com> - 2016-09-19 17:00 +0200
  [PATCH 3/7] openrisc: restore call-saved regs on sigreturn Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
    Re: [PATCH 3/7] openrisc: restore call-saved regs on sigreturn Jonas Bonn <jonas@southpole.se> - 2016-09-19 16:50 +0200
      Re: [PATCH 3/7] openrisc: restore call-saved regs on sigreturn Stafford Horne <shorne@gmail.com> - 2016-09-19 17:00 +0200
  [PATCH 7/7] openrisc: remove the redundant of_platform_populate Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
    Re: [PATCH 7/7] openrisc: remove the redundant of_platform_populate Jonas Bonn <jonas@southpole.se> - 2016-09-19 16:40 +0200
      Re: [PATCH 7/7] openrisc: remove the redundant  of_platform_populate Stafford Horne <shorne@gmail.com> - 2016-09-19 17:00 +0200
      Re: [PATCH 7/7] openrisc: remove the redundant of_platform_populate Rob Herring <robh@kernel.org> - 2016-09-19 18:20 +0200
  [PATCH 5/7] openrisc: Support both old (or32) and new (or1k) toolchain Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
    Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Guenter Roeck <linux@roeck-us.net> - 2016-09-18 17:30 +0200
      Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Stafford Horne <shorne@gmail.com> - 2016-09-19 08:10 +0200
        Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Guenter Roeck <linux@roeck-us.net> - 2016-09-19 09:20 +0200
          Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Stafford Horne <shorne@gmail.com> - 2016-09-19 11:20 +0200
            Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Guenter Roeck <linux@roeck-us.net> - 2016-09-19 15:20 +0200
              Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Stafford Horne <shorne@gmail.com> - 2016-09-19 16:10 +0200
                Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Jonas Bonn <jonas@southpole.se> - 2016-09-19 16:40 +0200
                Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Guenter Roeck <linux@roeck-us.net> - 2016-09-19 17:00 +0200
                Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Stafford Horne <shorne@gmail.com> - 2016-09-19 17:20 +0200
                Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Guenter Roeck <linux@roeck-us.net> - 2016-09-19 16:50 +0200
                Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k)  toolchain Stafford Horne <shorne@gmail.com> - 2016-09-20 12:10 +0200
  [PATCH 1/7] Apply transparent_union attribute to union semun Stafford Horne <shorne@gmail.com> - 2016-09-16 16:50 +0200
    Re: [PATCH 1/7] Apply transparent_union attribute to union semun kbuild test robot <lkp@intel.com> - 2016-09-16 18:00 +0200
    Re: [PATCH 1/7] Apply transparent_union attribute to union semun kbuild test robot <lkp@intel.com> - 2016-09-17 01:40 +0200
      Re: [PATCH 1/7] Apply transparent_union attribute to union semun Stafford Horne <shorne@gmail.com> - 2016-09-17 02:10 +0200
    Re: [PATCH 1/7] Apply transparent_union attribute to union semun Stafford Horne <shorne@gmail.com> - 2016-09-19 16:50 +0200
    Re: [PATCH 1/7] Apply transparent_union attribute to union semun Jonas Bonn <jonas@southpole.se> - 2016-09-19 16:50 +0200
  Re: [PATCH 0/7] openrisc: Misc fixes from backlog Stafford Horne <shorne@gmail.com> - 2016-09-16 17:00 +0200

csiph-web