Skip to content

Commit

Permalink
uml: remove xmm checking on x86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Karol Swietlicki authored and Linus Torvalds committed Feb 5, 2008
1 parent 99c9f50 commit 4d18de4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/um/sys-i386/bugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion include/asm-um/processor-i386.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4d18de4

Please sign in to comment.