svn commit: r199508 - projects/ppc64/sys/powerpc/include
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Nov 19 05:59:16 UTC 2009
Author: nwhitehorn
Date: Thu Nov 19 05:59:15 2009
New Revision: 199508
URL: http://svn.freebsd.org/changeset/base/199508
Log:
Set MACHINE_ARCH appropriately (i.e. to powerpc64) for a 64-bit kernel.
Modified:
projects/ppc64/sys/powerpc/include/param.h
Modified: projects/ppc64/sys/powerpc/include/param.h
==============================================================================
--- projects/ppc64/sys/powerpc/include/param.h Thu Nov 19 05:56:31 2009 (r199507)
+++ projects/ppc64/sys/powerpc/include/param.h Thu Nov 19 05:59:15 2009 (r199508)
@@ -54,8 +54,12 @@
#define MACHINE "powerpc"
#endif
#ifndef MACHINE_ARCH
+#ifdef __powerpc64__
+#define MACHINE_ARCH "powerpc64"
+#else
#define MACHINE_ARCH "powerpc"
#endif
+#endif
#define MID_MACHINE MID_POWERPC
#if defined(SMP) || defined(KLD_MODULE)
More information about the svn-src-projects
mailing list