diff options
author | Karol Swietlicki <magotari@gmail.com> | 2008-02-05 07:30:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:24 +0100 |
commit | 4d18de45fa921600e1b3770c3a7cb106ab48cd9d (patch) | |
tree | f7d62675120ce55c910edc0681f6cbaa7397ed30 | |
parent | uml: arch/um/include/init.h needs a definition of __used (diff) | |
download | linux-4d18de45fa921600e1b3770c3a7cb106ab48cd9d.tar.xz linux-4d18de45fa921600e1b3770c3a7cb106ab48cd9d.zip |
uml: remove xmm checking on x86
This patch removes some code which ran at every boot, but does not seem to do
anything anymore. Please test. It works for me but mistakes can happen.
Signed-off-by: Karol Swietlicki <magotari@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/um/sys-i386/bugs.c | 3 | ||||
-rw-r--r-- | include/asm-um/processor-i386.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/sys-i386/bugs.c b/arch/um/sys-i386/bugs.c index 806895d73bcc..5ee4c366074e 100644 --- a/arch/um/sys-i386/bugs.c +++ b/arch/um/sys-i386/bugs.c @@ -15,7 +15,6 @@ /* Set during early boot */ int host_has_cmov = 1; -int host_has_xmm = 0; static char token(int fd, char *buf, int len, char stop) { @@ -163,8 +162,6 @@ void arch_check_bugs(void) } if (check_cpu_flag("cmov", &have_it)) host_has_cmov = have_it; - if (check_cpu_flag("xmm", &have_it)) - host_has_xmm = have_it; } int arch_handle_signal(int sig, struct uml_pt_regs *regs) diff --git a/include/asm-um/processor-i386.h b/include/asm-um/processor-i386.h index 595f1c3e1e40..a2b7fe13fe1e 100644 --- a/include/asm-um/processor-i386.h +++ b/include/asm-um/processor-i386.h @@ -10,7 +10,6 @@ #include "asm/host_ldt.h" #include "asm/segment.h" -extern int host_has_xmm; extern int host_has_cmov; /* include faultinfo structure */ |