|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [LINUX] Fix seg-fixup warning.
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 35c724302bdd1339e17dad43085c841917a5dd88
# Parent 8a97b4a43a3d3afcec18fb61b2e6b430eec0bb77
[LINUX] Fix seg-fixup warning.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff -r 8a97b4a43a3d -r 35c724302bdd
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
--- a/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c Thu Dec 14 10:49:54
2006 +0000
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c Thu Dec 14 11:09:27
2006 +0000
@@ -43,17 +43,17 @@ fastcall void do_fixup_4gb_segment(struc
char info[100];
int i;
- if (test_and_set_bit(0, &printed))
+ /* Ignore statically-linked init. */
+ if (current->tgid == 1)
return;
-
- if (current->tgid == 1) /* Ignore statically linked init */
- return;
HYPERVISOR_vm_assist(
VMASST_CMD_disable, VMASST_TYPE_4gb_segments_notify);
+ if (test_and_set_bit(0, &printed))
+ return;
+
sprintf(info, "%s (pid=%d)", current->comm, current->tgid);
-
DP("");
DP("***************************************************************");
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [LINUX] Fix seg-fixup warning.,
Xen patchbot-unstable <=
|
|
|
|
|