Date: Sun, 21 Apr 2013 11:12:44 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249722 - head/sys/i386/include Message-ID: <201304211112.r3LBCiQP063406@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Sun Apr 21 11:12:44 2013 New Revision: 249722 URL: http://svnweb.freebsd.org/changeset/base/249722 Log: Remove redundant definitions of _ALIGN and _ALIGNBYTES. Modified: head/sys/i386/include/param.h Modified: head/sys/i386/include/param.h ============================================================================== --- head/sys/i386/include/param.h Sun Apr 21 10:30:19 2013 (r249721) +++ head/sys/i386/include/param.h Sun Apr 21 11:12:44 2013 (r249722) @@ -33,26 +33,15 @@ * $FreeBSD$ */ -#include <machine/_align.h> #ifndef _I386_INCLUDE_PARAM_H_ #define _I386_INCLUDE_PARAM_H_ -/* - * Machine dependent constants for Intel 386. - */ +#include <machine/_align.h> /* - * Round p (pointer or byte index) up to a correctly-aligned value - * for all data types (int, long, ...). The result is unsigned int - * and must be cast to any desired pointer type. + * Machine dependent constants for Intel 386. */ -#ifndef _ALIGNBYTES -#define _ALIGNBYTES (sizeof(int) - 1) -#endif -#ifndef _ALIGN -#define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) -#endif #define __HAVE_ACPI
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304211112.r3LBCiQP063406>