Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/include Protect the include of <sys/cpu_data.h...
details: https://anonhg.NetBSD.org/src/rev/79b1f8859dbc
branches: trunk
changeset: 760243:79b1f8859dbc
user: he <he%NetBSD.org@localhost>
date: Sat Jan 01 00:37:16 2011 +0000
description:
Protect the include of <sys/cpu_data.h> with a test for either _KERNEL
or _KMEMUSER. This should fix the build problem in libkvm for our m68k
ports.
diffstat:
sys/arch/m68k/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r b8fe4e5625c8 -r 79b1f8859dbc sys/arch/m68k/include/cpu.h
--- a/sys/arch/m68k/include/cpu.h Sat Jan 01 00:29:23 2011 +0000
+++ b/sys/arch/m68k/include/cpu.h Sat Jan 01 00:37:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.12 2010/12/22 02:42:28 matt Exp $ */
+/* $NetBSD: cpu.h,v 1.13 2011/01/01 00:37:16 he Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -197,9 +197,9 @@
#define CACHE60_ON (CACHE40_ON|IC60_CABC|IC60_EBC|DC60_ESB)
#define CACHE60_OFF (CACHE40_OFF|IC60_CABC)
+#if defined(_KERNEL) || defined(_KMEMUSER)
#include <sys/cpu_data.h>
-#if defined(_KERNEL) || defined(_KMEMUSER)
struct cpu_info {
struct cpu_data ci_data; /* MI per-cpu data */
cpuid_t ci_cpuid;
Home |
Main Index |
Thread Index |
Old Index