Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Restrict export of the tmpgdt symbol to X...



details:   https://anonhg.NetBSD.org/src/rev/bbcf04411c80
branches:  trunk
changeset: 781367:bbcf04411c80
user:      cherry <cherry%NetBSD.org@localhost>
date:      Sat Sep 01 23:19:46 2012 +0000

description:
Restrict export of the tmpgdt symbol to XEN kernels

Spotted by uwe@

diffstat:

 sys/arch/i386/i386/locore.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 95a7e4cb2ca7 -r bbcf04411c80 sys/arch/i386/i386/locore.S
--- a/sys/arch/i386/i386/locore.S       Sat Sep 01 22:20:52 2012 +0000
+++ b/sys/arch/i386/i386/locore.S       Sat Sep 01 23:19:46 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.101 2012/06/27 00:37:08 jym Exp $ */
+/*     $NetBSD: locore.S,v 1.102 2012/09/01 23:19:46 cherry Exp $      */
 
 /*
  * Copyright-o-rama!
@@ -129,7 +129,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.101 2012/06/27 00:37:08 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.102 2012/09/01 23:19:46 cherry Exp $");
 
 #include "opt_compat_oldboot.h"
 #include "opt_ddb.h"
@@ -233,10 +233,10 @@
 tmpstk:
 #ifdef XEN
        .align          PAGE_SIZE, 0x0  # Align on page boundary
+       .globl tmpgdt
 _C_LABEL(tmpgdt):
        .space          PAGE_SIZE       # Xen expects a page
 #endif /* XEN */
-       .globl tmpgdt
 #ifndef XEN
 #define        _RELOC(x)       ((x) - KERNBASE)
 #else



Home | Main Index | Thread Index | Old Index