diff options
author | tijl <tijl@FreeBSD.org> | 2013-04-21 11:12:44 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-04-21 11:12:44 +0000 |
commit | 1e5834db92827c01050b569d370c44791273d1f3 (patch) | |
tree | 30044db403fd02c666251b3514305cc20c6cd511 | |
parent | f0ba1598b2f3e128cc3288a94b93fceb32aeb061 (diff) | |
download | FreeBSD-src-1e5834db92827c01050b569d370c44791273d1f3.zip FreeBSD-src-1e5834db92827c01050b569d370c44791273d1f3.tar.gz |
Remove redundant definitions of _ALIGN and _ALIGNBYTES.
-rw-r--r-- | sys/i386/include/param.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h index 2d5f4a5..015b243 100644 --- a/sys/i386/include/param.h +++ b/sys/i386/include/param.h @@ -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 |