ia64/xen-unstable
changeset 11923:1633f9a3a120
Omit seg fixup warning if it's just from statically linked init.
Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: Steven Hand <steven@xensource.com>
author | Steven Hand <steven@xensource.com> |
---|---|
date | Fri Oct 20 11:49:00 2006 +0100 (2006-10-20) |
parents | 8e8128077259 |
children | a10ef8002af6 |
files | linux-2.6-xen-sparse/arch/i386/kernel/fixup.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c Fri Oct 20 11:43:14 2006 +0100 1.2 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c Fri Oct 20 11:49:00 2006 +0100 1.3 @@ -46,6 +46,9 @@ fastcall void do_fixup_4gb_segment(struc 1.4 if (test_and_set_bit(0, &printed)) 1.5 return; 1.6 1.7 + if (current->tgid == 1) /* Ignore statically linked init */ 1.8 + return; 1.9 + 1.10 HYPERVISOR_vm_assist( 1.11 VMASST_CMD_disable, VMASST_TYPE_4gb_segments_notify); 1.12