Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Rollback of patch ... there was a bug in the pr...



details:   https://anonhg.NetBSD.org/src/rev/0e7429c2e03f
branches:  trunk
changeset: 504326:0e7429c2e03f
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Feb 27 15:39:57 2001 +0000

description:
Rollback of patch ... there was a bug in the proc.h

diffstat:

 sys/arch/arm/arm/vm_machdep_arm.c |  15 ++-------------
 sys/arch/arm/include/cpu.h        |   4 +++-
 2 files changed, 5 insertions(+), 14 deletions(-)

diffs (54 lines):

diff -r 5797e41971b8 -r 0e7429c2e03f sys/arch/arm/arm/vm_machdep_arm.c
--- a/sys/arch/arm/arm/vm_machdep_arm.c Tue Feb 27 14:41:52 2001 +0000
+++ b/sys/arch/arm/arm/vm_machdep_arm.c Tue Feb 27 15:39:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep_arm.c,v 1.3 2001/02/27 14:00:24 bjh21 Exp $ */
+/*     $NetBSD: vm_machdep_arm.c,v 1.4 2001/02/27 15:39:57 reinoud Exp $       */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -37,7 +37,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep_arm.c,v 1.3 2001/02/27 14:00:24 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep_arm.c,v 1.4 2001/02/27 15:39:57 reinoud Exp $");
 
 #include <sys/core.h>
 #include <sys/exec.h>
@@ -49,17 +49,6 @@
 
 #include <machine/reg.h>
 
-/*
- * Since all ARM machines are single processors now, we'll implement
- * cpu_wait() here now -> empty
- */
-
-void
-cpu_wait(struct proc *p)
-{
-
-       /* nothing */
-}
 
 /*
  * Dump the machine specific segment at the start of a core dump.
diff -r 5797e41971b8 -r 0e7429c2e03f sys/arch/arm/include/cpu.h
--- a/sys/arch/arm/include/cpu.h        Tue Feb 27 14:41:52 2001 +0000
+++ b/sys/arch/arm/include/cpu.h        Tue Feb 27 15:39:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.4 2001/02/27 00:16:48 reinoud Exp $  */
+/*     $NetBSD: cpu.h,v 1.5 2001/02/27 15:39:57 reinoud Exp $  */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -146,6 +146,8 @@
 
 #define signotify(p)            setsoftast()
 
+#define cpu_wait(p)    /* nothing */
+#define cpu_number(p)  0
 
 #if defined(_KERNEL) && !defined(_LOCORE)
 extern int current_intr_depth;



Home | Main Index | Thread Index | Old Index