diff --git a/sys/arch/sparc64/include/locore.h b/sys/arch/sparc64/include/locore.h index 88307fb27ab6..971a2127f845 100644 --- a/sys/arch/sparc64/include/locore.h +++ b/sys/arch/sparc64/include/locore.h @@ -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 --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 9c4bfc88c374..dbb206343261 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -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