Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/include This file has a _KERNEL dependency on <...



details:   https://anonhg.NetBSD.org/src/rev/869abfc6e6de
branches:  trunk
changeset: 543463:869abfc6e6de
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Feb 25 23:29:53 2003 +0000

description:
This file has a _KERNEL dependency on <machine/cpu.h>.  So include it.
[GENERIC.MP builds again.]

diffstat:

 sys/arch/vax/include/lock.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7f0f3354ab73 -r 869abfc6e6de sys/arch/vax/include/lock.h
--- a/sys/arch/vax/include/lock.h       Tue Feb 25 23:29:14 2003 +0000
+++ b/sys/arch/vax/include/lock.h       Tue Feb 25 23:29:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.10 2002/10/10 17:12:23 thorpej Exp $        */
+/*     $NetBSD: lock.h,v 1.11 2003/02/25 23:29:53 matt Exp $   */
 
 /*
  * Copyright (c) 2000 Ludd, University of Lule}, Sweden.
@@ -33,6 +33,10 @@
 #ifndef _VAX_LOCK_H_
 #define _VAX_LOCK_H_
 
+#ifdef _KERNEL
+#include <machine/cpu.h>
+#endif
+
 typedef __volatile int         __cpu_simple_lock_t;
 
 #define __SIMPLELOCK_LOCKED    1



Home | Main Index | Thread Index | Old Index