Module: xenomai-jki
Branch: for-upstream
Commit: 80b8289894e2d98391886dcd74aff42c3a08b6ff
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=80b8289894e2d98391886dcd74aff42c3a08b6ff

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Jan 30 14:34:34 2013 +0100

x86: Remove noxsave kernel parameter enforcement

No longer needed now that we support xsave-based context switches.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 configure.in                      |    1 -
 include/asm-x86/Makefile.am       |    2 +-
 include/asm-x86/ipipe/Makefile.am |    4 ----
 include/asm-x86/ipipe/setup.h     |   22 ----------------------
 4 files changed, 1 insertions(+), 28 deletions(-)

diff --git a/configure.in b/configure.in
index c853c9c..0354d69 100644
--- a/configure.in
+++ b/configure.in
@@ -752,7 +752,6 @@ AC_CONFIG_FILES([ \
        include/asm-blackfin/bits/Makefile \
        include/asm-x86/Makefile \
        include/asm-x86/bits/Makefile \
-       include/asm-x86/ipipe/Makefile \
        include/asm-powerpc/Makefile \
        include/asm-powerpc/bits/Makefile \
        include/asm-arm/Makefile \
diff --git a/include/asm-x86/Makefile.am b/include/asm-x86/Makefile.am
index fe48bec..dba3b68 100644
--- a/include/asm-x86/Makefile.am
+++ b/include/asm-x86/Makefile.am
@@ -24,4 +24,4 @@ includesub_HEADERS =  \
        wrappers_64.h   \
        wrappers.h
 
-SUBDIRS = bits ipipe
+SUBDIRS = bits
diff --git a/include/asm-x86/ipipe/Makefile.am 
b/include/asm-x86/ipipe/Makefile.am
deleted file mode 100644
index b6e78bd..0000000
--- a/include/asm-x86/ipipe/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-includesubdir = $(includedir)/asm-x86/ipipe
-
-includesub_HEADERS =   \
-       setup.h
\ No newline at end of file
diff --git a/include/asm-x86/ipipe/setup.h b/include/asm-x86/ipipe/setup.h
deleted file mode 100644
index baed275..0000000
--- a/include/asm-x86/ipipe/setup.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _XENO_ASM_X86_IPIPE_SETUP_H
-#define _XENO_ASM_X86_IPIPE_SETUP_H
-
-#include <asm/processor.h>
-
-#ifdef cpu_has_xsave
-/*
- * We don't handle the extended processor state yet. Disable
- * xsave/xrstor to keep a correct behavior.
- */
-static inline void __ipipe_early_client_setup(void)
-{
-       if (cpu_has_xsave) {
-               setup_clear_cpu_cap(X86_FEATURE_XSAVE);
-               setup_clear_cpu_cap(X86_FEATURE_XSAVEOPT);
-               printk(KERN_INFO "Xenomai: forcing noxsave");
-       }
-}
-
-#endif /* cpu_has_xsave */
-
-#endif /* !_XENO_ASM_X86_IPIPE_SETUP_H */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to