All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] x86-userspace: Turn on SMP by default
@ 2008-12-29 14:47 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-12-29 14:47 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

A signigicant portion of x86 systems is SMP these days. Turn on the
corresponding user space option to reflect the situation, specifically
as running SMP-enabled libraries on a single-core system is just
slightly suboptimal while the other way around does not work, forcing
the user to rebuild the Xenomai libs.

Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---

 configure.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 4300d6f..d665dc6 100644
--- a/configure.in
+++ b/configure.in
@@ -135,6 +135,9 @@ AC_MSG_RESULT(${debug_symbols:-no})
 dnl SMP support (default: off)
 
 CONFIG_SMP=
+if test $XENO_TARGET_ARCH = x86; then
+	CONFIG_SMP=y
+fi
 AC_MSG_CHECKING(for SMP support)
 AC_ARG_ENABLE(smp,
 	AS_HELP_STRING([--enable-smp], [Enable SMP support]),


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-29 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 14:47 [Xenomai-core] [PATCH] x86-userspace: Turn on SMP by default Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.