From 14b1d38f4d8ba8c8f442e3b847d120172da6cad7 Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 3 Oct 2007 12:23:44 +0000 Subject: [PATCH] Back out the ALIGNBYTES change. There are structures used in userspace that depend on the constant. --- sys/arch/i386/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h index e72eda7f5b04..db053b3da0b0 100644 --- a/sys/arch/i386/include/param.h +++ b/sys/arch/i386/include/param.h @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.63 2007/09/26 19:48:41 ad Exp $ */ +/* $NetBSD: param.h,v 1.64 2007/10/03 12:23:44 ad Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -66,7 +66,7 @@ * (within reasonable limits). * */ -#define ALIGNBYTES (sizeof(double) - 1) +#define ALIGNBYTES (sizeof(int) - 1) #define ALIGN(p) (((u_int)(u_long)(p) + ALIGNBYTES) &~ \ ALIGNBYTES) #define ALIGNED_POINTER(p,t) 1