Commit 4d18de45 authored by Karol Swietlicki's avatar Karol Swietlicki Committed by Linus Torvalds
Browse files

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: default avatarKarol Swietlicki <magotari@gmail.com>
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 99c9f502
......@@ -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)
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment