[Xenomai-git] Gilles Chanteperdrix : arm: no known SOC supports SMP with pre-v6 architecture, forbid this option
Module: xenomai-2.6 Branch: master Commit: bcc5a690f015f815e6df3177ea788798a4b30fcb URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=bcc5a690f015f815e6df3177ea788798a4b30fcb Author: Gilles Chanteperdrix Date: Tue Dec 27 14:03:48 2011 +0100 arm: no known SOC supports SMP with pre-v6 architecture, forbid this option --- include/asm-arm/features.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/asm-arm/features.h b/include/asm-arm/features.h index 1df4466..279f752 100644 --- a/include/asm-arm/features.h +++ b/include/asm-arm/features.h @@ -73,10 +73,12 @@ #error "Could not find current ARM architecture" #endif -#if __LINUX_ARM_ARCH__ >= 6 || !defined(CONFIG_SMP) -#define CONFIG_XENO_FASTSYNCH 1 +#if __LINUX_ARM_ARCH__ < 6 && defined(CONFIG_SMP) +#error "SMP not supported below armv6, compile with -march=armv6 or above" #endif +#define CONFIG_XENO_FASTSYNCH 1 + #if CONFIG_XENO_ARM_TSC_TYPE == __XN_TSC_TYPE_KUSER #define CONFIG_XENO_ARM_KUSER_TSC 1 #endif ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Gilles Chanteperdrix : arm: no known SOC supports SMP with pre-v6 architecture, forbid this option
Module: xenomai-2.6 Branch: master Commit: 497be765bdf5fb00375ed10b5af1afbde9efa502 URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=497be765bdf5fb00375ed10b5af1afbde9efa502 Author: Gilles Chanteperdrix Date: Tue Dec 27 14:03:48 2011 +0100 arm: no known SOC supports SMP with pre-v6 architecture, forbid this option --- include/asm-arm/features.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/asm-arm/features.h b/include/asm-arm/features.h index 1df4466..279f752 100644 --- a/include/asm-arm/features.h +++ b/include/asm-arm/features.h @@ -73,10 +73,12 @@ #error "Could not find current ARM architecture" #endif -#if __LINUX_ARM_ARCH__ >= 6 || !defined(CONFIG_SMP) -#define CONFIG_XENO_FASTSYNCH 1 +#if __LINUX_ARM_ARCH__ < 6 && defined(CONFIG_SMP) +#error "SMP not supported below armv6, compile with -march=armv6 or above" #endif +#define CONFIG_XENO_FASTSYNCH 1 + #if CONFIG_XENO_ARM_TSC_TYPE == __XN_TSC_TYPE_KUSER #define CONFIG_XENO_ARM_KUSER_TSC 1 #endif ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git