svn commit: r196968 - head/sys/amd64/include

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 8 12:59:57 UTC 2009


Author: phk
Date: Tue Sep  8 12:59:56 2009
New Revision: 196968
URL: http://svn.freebsd.org/changeset/base/196968

Log:
  Move multi-include protection back up to the top of the file and
  name after the physical file rather than the aliased name.

Modified:
  head/sys/amd64/include/param.h

Modified: head/sys/amd64/include/param.h
==============================================================================
--- head/sys/amd64/include/param.h	Tue Sep  8 10:39:38 2009	(r196967)
+++ head/sys/amd64/include/param.h	Tue Sep  8 12:59:56 2009	(r196968)
@@ -39,6 +39,9 @@
  * $FreeBSD$
  */
 
+#ifndef _AMD64_INCLUDE_PARAM_H_
+#define	_AMD64_INCLUDE_PARAM_H_
+
 /*
  * Machine dependent constants for AMD64.
  */
@@ -60,9 +63,6 @@
 #define __HAVE_ACPI
 #define __PCI_REROUTE_INTERRUPT
 
-#ifndef _MACHINE_PARAM_H_
-#define	_MACHINE_PARAM_H_
-
 #ifndef MACHINE
 #define	MACHINE		"amd64"
 #endif
@@ -150,5 +150,5 @@
 
 #define	pgtok(x)	((unsigned long)(x) * (PAGE_SIZE / 1024)) 
 
-#endif /* !_MACHINE_PARAM_H_ */
 #endif /* !_NO_NAMESPACE_POLLUTION */
+#endif /* !_AMD64_INCLUDE_PARAM_H_ */


More information about the svn-src-head mailing list