* [uml-devel] [PATCH] uml: removing xmm detection
@ 2007-10-25 19:10 Magotari
2007-10-26 16:34 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Magotari @ 2007-10-25 19:10 UTC (permalink / raw)
To: jdike; +Cc: user-mode-linux-devel
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.
Karol Swietlicki
Signed-off-by: Karol Swietlicki <magotari@gmail.com>
---
diff -uprN linux-2.6.23-mm1/arch/um/sys-i386/bugs.c
linux-2.6.23-mm1.local/arch/um/sys-i386/bugs.c
--- linux-2.6.23-mm1/arch/um/sys-i386/bugs.c 2007-10-18 22:24:13.000000000 +0200
+++ linux-2.6.23-mm1.local/arch/um/sys-i386/bugs.c 2007-10-25
18:57:28.000000000 +0200
@@ -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)
diff -uprN linux-2.6.23-mm1/include/asm-um/processor-i386.h
linux-2.6.23-mm1.local/include/asm-um/processor-i386.h
--- linux-2.6.23-mm1/include/asm-um/processor-i386.h 2007-10-18
22:24:26.000000000 +0200
+++ linux-2.6.23-mm1.local/include/asm-um/processor-i386.h 2007-10-25
18:59:15.000000000 +0200
@@ -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 */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] [PATCH] uml: removing xmm detection
2007-10-25 19:10 [uml-devel] [PATCH] uml: removing xmm detection Magotari
@ 2007-10-26 16:34 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2007-10-26 16:34 UTC (permalink / raw)
To: Magotari; +Cc: user-mode-linux-devel
On Thu, Oct 25, 2007 at 09:10:25PM +0200, Magotari wrote:
> 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.
>
> Karol Swietlicki
>
> Signed-off-by: Karol Swietlicki <magotari@gmail.com>
Thanks, this is in my tree.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-26 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 19:10 [uml-devel] [PATCH] uml: removing xmm detection Magotari
2007-10-26 16:34 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.