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

This commit is contained in:
mrg 2010-03-07 01:52:44 +00:00
parent 5de4293bf6
commit 34df0cc276
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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