Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64 need _ALIGN in locore.h as well, for DEBUG ...



details:   https://anonhg.NetBSD.org/src/rev/81e67b80b86f
branches:  trunk
changeset: 752789:81e67b80b86f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 07 01:52:44 2010 +0000

description:
need _ALIGN in locore.h as well, for DEBUG kernels.

diffstat:

 sys/arch/sparc64/include/locore.h |  6 +++++-
 sys/arch/sparc64/sparc64/locore.s |  6 +-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 36df73c56f0c -r 81e67b80b86f sys/arch/sparc64/include/locore.h
--- a/sys/arch/sparc64/include/locore.h Sun Mar 07 00:42:08 2010 +0000
+++ b/sys/arch/sparc64/include/locore.h Sun Mar 07 01:52:44 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.h,v 1.2 2010/03/07 00:42:58 mrg Exp $   */
+/*     $NetBSD: locore.h,v 1.3 2010/03/07 01:52:44 mrg Exp $   */
 
 /*
  * Copyright (c) 1996-2002 Eduardo Horvath
@@ -86,3 +86,7 @@
 
 /* if < 32, copy by bytes, memcpy, kcopy, ... */
 #define        BCOPY_SMALL     32
+
+/* use as needed to align things on longword boundaries */
+#define        _ALIGN  .align 8
+#define ICACHE_ALIGN   .align  32
diff -r 36df73c56f0c -r 81e67b80b86f sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sun Mar 07 00:42:08 2010 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sun Mar 07 01:52:44 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.324 2010/03/07 00:42:58 mrg Exp $ */
+/*     $NetBSD: locore.s,v 1.325 2010/03/07 01:52:44 mrg Exp $ */
 
 /*
  * Copyright (c) 1996-2002 Eduardo Horvath
@@ -117,10 +117,6 @@
        .register       %g2,#scratch
        .register       %g3,#scratch
 
-/* use as needed to align things on longword boundaries */
-#define        _ALIGN  .align 8
-#define ICACHE_ALIGN   .align  32
-
 /*
  * This macro will clear out a cache line before an explicit
  * access to that location.  It's mostly used to make certain



Home | Main Index | Thread Index | Old Index