Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/include Use _LOCORE to recognize assembler in...



details:   https://anonhg.NetBSD.org/src/rev/7440f69138fe
branches:  trunk
changeset: 509792:7440f69138fe
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun May 13 13:47:23 2001 +0000

description:
Use _LOCORE to recognize assembler in the kernel, not ASSEMBLER (which doesn't
get set).

diffstat:

 sys/arch/arm26/include/intr.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a0c09e059b84 -r 7440f69138fe sys/arch/arm26/include/intr.h
--- a/sys/arch/arm26/include/intr.h     Sun May 13 13:46:23 2001 +0000
+++ b/sys/arch/arm26/include/intr.h     Sun May 13 13:47:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.8 2001/04/13 23:29:58 thorpej Exp $ */
+/* $NetBSD: intr.h,v 1.9 2001/05/13 13:47:23 bjh21 Exp $ */
 /*-
  * Copyright (c) 1998, 2000 Ben Harris
  * All rights reserved.
@@ -59,7 +59,7 @@
 #define IPL_HIGH       12
 #define NIPL           IPL_HIGH + 1
 
-#if defined(_KERNEL) && !defined(ASSEMBLER)
+#if defined(_KERNEL) && !defined(_LOCORE)
 
 #define splsoftnet()   raisespl(IPL_SOFTNET)
 #define splsoft()      splsoftnet()



Home | Main Index | Thread Index | Old Index