From ffc00e9bf119f19d6609f1a6e2e6c4d0afb744c9 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 13 Nov 2005 23:14:35 +0000 Subject: Align _delay() on 8 bytes, not 2^8 bytes. --- sys/arch/hp300/hp300/locore.s | 4 ++-- sys/arch/mac68k/mac68k/locore.s | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s index 757ac5699c1..7e74d3e2cb3 100644 --- a/sys/arch/hp300/hp300/locore.s +++ b/sys/arch/hp300/hp300/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.50 2005/09/27 22:05:37 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.51 2005/11/13 23:14:33 miod Exp $ */ /* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */ /* @@ -1966,7 +1966,7 @@ ENTRY_NOPROFILE(_delay) * operations and that the loop will run from a single cache * half-line. */ - .align 8 + .balign 8 L_delay: subl d1,d0 jgt L_delay diff --git a/sys/arch/mac68k/mac68k/locore.s b/sys/arch/mac68k/mac68k/locore.s index b9f5f721a3e..75ff583c082 100644 --- a/sys/arch/mac68k/mac68k/locore.s +++ b/sys/arch/mac68k/mac68k/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.45 2005/09/13 14:05:49 martin Exp $ */ +/* $OpenBSD: locore.s,v 1.46 2005/11/13 23:14:34 miod Exp $ */ /* $NetBSD: locore.s,v 1.103 1998/07/09 06:02:50 scottr Exp $ */ /* @@ -1545,7 +1545,7 @@ Lm68881rdone: * will be no prefetch stalls due to cache line burst operations and that * the loops will run from a single cache half-line. */ - .align 8 | align to half-line boundary + .balign 8 | align to half-line boundary ALTENTRY(_delay, _delay) ENTRY(delay) -- cgit v1.2.3