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
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to