Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include Oops, <sys/sched.h> isn't asm safe, mo...
details: https://anonhg.NetBSD.org/src/rev/e07562155df5
branches: trunk
changeset: 514519:e07562155df5
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Sep 04 09:23:27 2001 +0000
description:
Oops, <sys/sched.h> isn't asm safe, move inside an "#ifndef LOCORE" block.
diffstat:
sys/arch/mips/include/cpu.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e4e9aae54413 -r e07562155df5 sys/arch/mips/include/cpu.h
--- a/sys/arch/mips/include/cpu.h Tue Sep 04 08:46:59 2001 +0000
+++ b/sys/arch/mips/include/cpu.h Tue Sep 04 09:23:27 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.54 2001/09/04 06:23:16 simonb Exp $ */
+/* $NetBSD: cpu.h,v 1.55 2001/09/04 09:23:27 simonb Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,6 @@
#ifndef _CPU_H_
#define _CPU_H_
-#include <sys/sched.h>
#include <mips/cpuregs.h>
/*
@@ -49,6 +48,8 @@
*/
#ifndef _LOCORE
+#include <sys/sched.h>
+
#if defined(_KERNEL_OPT)
#include "opt_lockdebug.h"
#endif
Home |
Main Index |
Thread Index |
Old Index