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

Marcel Moolenaar marcel at FreeBSD.org
Sun Jul 31 18:26:48 UTC 2011


Author: marcel
Date: Sun Jul 31 18:26:47 2011
New Revision: 224551
URL: http://svn.freebsd.org/changeset/base/224551

Log:
  Fix r224187: .word defines a 16-bit object and size_t is defined as
  a 32-bit intergal. Use .long to define sintrcnt and sintrname.
  
  Approved by:	re (blanket)

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

Modified: head/sys/powerpc/booke/locore.S
==============================================================================
--- head/sys/powerpc/booke/locore.S	Sun Jul 31 16:16:25 2011	(r224550)
+++ head/sys/powerpc/booke/locore.S	Sun Jul 31 18:26:47 2011	(r224551)
@@ -790,12 +790,12 @@ GLOBAL(kernload)
 GLOBAL(intrnames)
 	.space	INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
 GLOBAL(sintrnames)
-	.word	INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
+	.long	INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
 
 	.align 4
 GLOBAL(intrcnt)
 	.space	INTRCNT_COUNT * 4 * 2
 GLOBAL(sintrcnt)
-	.word	INTRCNT_COUNT * 4 * 2
+	.long	INTRCNT_COUNT * 4 * 2
 
 #include <powerpc/booke/trap_subr.S>


More information about the svn-src-all mailing list