Module Name:    src
Committed By:   cherry
Date:           Sat Sep  1 23:19:47 UTC 2012

Modified Files:
        src/sys/arch/i386/i386: locore.S

Log Message:
Restrict export of the tmpgdt symbol to XEN kernels

Spotted by uwe@


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/i386/i386/locore.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/i386/locore.S
diff -u src/sys/arch/i386/i386/locore.S:1.101 src/sys/arch/i386/i386/locore.S:1.102
--- src/sys/arch/i386/i386/locore.S:1.101	Wed Jun 27 00:37:08 2012
+++ src/sys/arch/i386/i386/locore.S	Sat Sep  1 23:19:46 2012
@@ -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 @@ _C_LABEL(tablesize):	.long	0
 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

Reply via email to