aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorKarol Swietlicki <magotari@gmail.com>2008-02-05 01:30:35 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:24 -0500
commit4d18de45fa921600e1b3770c3a7cb106ab48cd9d (patch)
treef7d62675120ce55c910edc0681f6cbaa7397ed30 /arch/um
parent99c9f502cb3498b02b1e5df60c9ea0ee2e535373 (diff)
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>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/sys-i386/bugs.c3
1 files changed, 0 insertions, 3 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 @@
15 15
16/* Set during early boot */ 16/* Set during early boot */
17int host_has_cmov = 1; 17int host_has_cmov = 1;
18int host_has_xmm = 0;
19 18
20static char token(int fd, char *buf, int len, char stop) 19static char token(int fd, char *buf, int len, char stop)
21{ 20{
@@ -163,8 +162,6 @@ void arch_check_bugs(void)
163 } 162 }
164 if (check_cpu_flag("cmov", &have_it)) 163 if (check_cpu_flag("cmov", &have_it))
165 host_has_cmov = have_it; 164 host_has_cmov = have_it;
166 if (check_cpu_flag("xmm", &have_it))
167 host_has_xmm = have_it;
168} 165}
169 166
170int arch_handle_signal(int sig, struct uml_pt_regs *regs) 167int arch_handle_signal(int sig, struct uml_pt_regs *regs)