Module Name: src
Committed By: matt
Date: Sat Mar 5 14:32:32 UTC 2011
Modified Files:
src/sys/arch/m68k/include: param.h
Log Message:
If _KERNEL is not defined, force MACHINE to be "m68k". Userland should be
using uname/sysctl to get this value.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/m68k/include/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/m68k/include/param.h
diff -u src/sys/arch/m68k/include/param.h:1.18 src/sys/arch/m68k/include/param.h:1.19
--- src/sys/arch/m68k/include/param.h:1.18 Tue Feb 8 20:20:16 2011
+++ src/sys/arch/m68k/include/param.h Sat Mar 5 14:32:32 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.18 2011/02/08 20:20:16 rmind Exp $ */
+/* $NetBSD: param.h,v 1.19 2011/03/05 14:32:32 matt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -51,6 +51,10 @@
#ifndef MID_MACHINE
#define MID_MACHINE MID_M68K
#endif
+#ifndef _KERNEL
+#undef MACHINE
+#define MACHINE "m68k"
+#endif
/*
* Round p (pointer or byte index) up to a correctly-aligned value for all