Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2009 12:59:57 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196968 - head/sys/amd64/include
Message-ID:  <200909081259.n88Cxvan048046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909081259.n88Cxvan048046>