소스 검색

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>
Karol Swietlicki 17 년 전
부모
커밋
4d18de45fa
2개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 3
      arch/um/sys-i386/bugs.c
  2. 0 1
      include/asm-um/processor-i386.h

+ 0 - 3
arch/um/sys-i386/bugs.c

@@ -15,7 +15,6 @@
 
 
 /* Set during early boot */
 /* Set during early boot */
 int host_has_cmov = 1;
 int host_has_cmov = 1;
-int host_has_xmm = 0;
 
 
 static char token(int fd, char *buf, int len, char stop)
 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))
 	if (check_cpu_flag("cmov", &have_it))
 		host_has_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)
 int arch_handle_signal(int sig, struct uml_pt_regs *regs)

+ 0 - 1
include/asm-um/processor-i386.h

@@ -10,7 +10,6 @@
 #include "asm/host_ldt.h"
 #include "asm/host_ldt.h"
 #include "asm/segment.h"
 #include "asm/segment.h"
 
 
-extern int host_has_xmm;
 extern int host_has_cmov;
 extern int host_has_cmov;
 
 
 /* include faultinfo structure */
 /* include faultinfo structure */