svn commit: r224617 - head/sys/powerpc/booke

Marcel Moolenaar marcel at FreeBSD.org
Tue Aug 2 23:33:44 UTC 2011


Author: marcel
Date: Tue Aug  2 23:33:44 2011
New Revision: 224617
URL: http://svn.freebsd.org/changeset/base/224617

Log:
  It's invalid to use GLOBAL() for kernload_ap, as the macro switches
  to the .data section. We need kernload_ap in the boot page.
  
  Approved by:	re (blanket)

Modified:
  head/sys/powerpc/booke/locore.S

Modified: head/sys/powerpc/booke/locore.S
==============================================================================
--- head/sys/powerpc/booke/locore.S	Tue Aug  2 23:06:59 2011	(r224616)
+++ head/sys/powerpc/booke/locore.S	Tue Aug  2 23:33:44 2011	(r224617)
@@ -242,7 +242,8 @@ done_mapping:
 __boot_page:
 	bl	1f
 
-GLOBAL(kernload_ap)
+	.globl	kernload_ap
+kernload_ap:
 	.long	0
 
 /*


More information about the svn-src-all mailing list