svn commit: r249722 - head/sys/i386/include

Tijl Coosemans tijl at FreeBSD.org
Sun Apr 21 11:12:45 UTC 2013


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


More information about the svn-src-head mailing list