[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Omit seg fixup warning if it's just from statically linked init.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Node ID 1633f9a3a1202484a250191c21a8a35a0b5dd6cd
# Parent  8e8128077259ec2f042cd69059d9b38b4fd8d433
Omit seg fixup warning if it's just from statically linked init.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/i386/kernel/fixup.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 8e8128077259 -r 1633f9a3a120 
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
--- a/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c     Fri Oct 20 11:43:14 
2006 +0100
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c     Fri Oct 20 11:49:00 
2006 +0100
@@ -46,6 +46,9 @@ fastcall void do_fixup_4gb_segment(struc
        if (test_and_set_bit(0, &printed))
                return;
 
+        if (current->tgid == 1) /* Ignore statically linked init */
+                return; 
+            
        HYPERVISOR_vm_assist(
                VMASST_CMD_disable, VMASST_TYPE_4gb_segments_notify);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.