From: Jeff Dike <jdike@addtoit.com>
To: Andrew Morton <akpm@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
uml-devel <user-mode-linux-devel@lists.sourceforge.net>,
Karol Swietlicki <magotari@gmail.com>
Subject: [uml-devel] [PATCH 1/4] UML - Remove xmm checking on x86
Date: Tue, 30 Oct 2007 13:28:48 -0400 [thread overview]
Message-ID: <20071030172848.GA8356@c2.user-mode-linux.org> (raw)
From: Karol Swietlicki <magotari@gmail.com>
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>
---
arch/um/sys-i386/bugs.c | 3 ---
include/asm-um/processor-i386.h | 1 -
2 files changed, 4 deletions(-)
Index: linux-2.6.22/arch/um/sys-i386/bugs.c
===================================================================
--- linux-2.6.22.orig/arch/um/sys-i386/bugs.c 2007-10-25 23:33:16.000000000 -0400
+++ linux-2.6.22/arch/um/sys-i386/bugs.c 2007-10-26 12:31:25.000000000 -0400
@@ -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)
Index: linux-2.6.22/include/asm-um/processor-i386.h
===================================================================
--- linux-2.6.22.orig/include/asm-um/processor-i386.h 2007-07-08 19:32:17.000000000 -0400
+++ linux-2.6.22/include/asm-um/processor-i386.h 2007-10-26 12:32:07.000000000 -0400
@@ -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
WARNING: multiple messages have this Message-ID (diff)
From: Jeff Dike <jdike@addtoit.com>
To: Andrew Morton <akpm@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
uml-devel <user-mode-linux-devel@lists.sourceforge.net>,
Karol Swietlicki <magotari@gmail.com>
Subject: [PATCH 1/4] UML - Remove xmm checking on x86
Date: Tue, 30 Oct 2007 13:28:48 -0400 [thread overview]
Message-ID: <20071030172848.GA8356@c2.user-mode-linux.org> (raw)
From: Karol Swietlicki <magotari@gmail.com>
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>
---
arch/um/sys-i386/bugs.c | 3 ---
include/asm-um/processor-i386.h | 1 -
2 files changed, 4 deletions(-)
Index: linux-2.6.22/arch/um/sys-i386/bugs.c
===================================================================
--- linux-2.6.22.orig/arch/um/sys-i386/bugs.c 2007-10-25 23:33:16.000000000 -0400
+++ linux-2.6.22/arch/um/sys-i386/bugs.c 2007-10-26 12:31:25.000000000 -0400
@@ -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)
Index: linux-2.6.22/include/asm-um/processor-i386.h
===================================================================
--- linux-2.6.22.orig/include/asm-um/processor-i386.h 2007-07-08 19:32:17.000000000 -0400
+++ linux-2.6.22/include/asm-um/processor-i386.h 2007-10-26 12:32:07.000000000 -0400
@@ -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 */
next reply other threads:[~2007-10-30 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 17:28 Jeff Dike [this message]
2007-10-30 17:28 ` [PATCH 1/4] UML - Remove xmm checking on x86 Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071030172848.GA8356@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=magotari@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.