From 4d18de45fa921600e1b3770c3a7cb106ab48cd9d Mon Sep 17 00:00:00 2001 From: Karol Swietlicki Date: Mon, 4 Feb 2008 22:30:35 -0800 Subject: 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 Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/um/sys-i386/bugs.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/um/sys-i386') 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) -- cgit v1.2.1