Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Pick off a couple of cpu_sysctl() stragglers.



details:   https://anonhg.NetBSD.org/src/rev/205925541ebd
branches:  trunk
changeset: 556020:205925541ebd
user:      atatat <atatat%NetBSD.org@localhost>
date:      Sat Dec 06 03:16:48 2003 +0000

description:
Pick off a couple of cpu_sysctl() stragglers.

diffstat:

 sys/arch/evbsh5/evbsh5/machdep.c |  16 ++--------------
 sys/arch/pdp10/pdp10/machdep.c   |   9 +--------
 2 files changed, 3 insertions(+), 22 deletions(-)

diffs (60 lines):

diff -r d4cb7115800b -r 205925541ebd sys/arch/evbsh5/evbsh5/machdep.c
--- a/sys/arch/evbsh5/evbsh5/machdep.c  Sat Dec 06 03:01:16 2003 +0000
+++ b/sys/arch/evbsh5/evbsh5/machdep.c  Sat Dec 06 03:16:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.16 2003/07/15 01:37:40 lukem Exp $       */
+/*     $NetBSD: machdep.c,v 1.17 2003/12/06 03:16:48 atatat Exp $      */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2003/07/15 01:37:40 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2003/12/06 03:16:48 atatat Exp $");
 
 #include "opt_sh5_debug.h"
 #include "opt_sh5_cpu.h"
@@ -412,18 +412,6 @@
        bufinit();
 }
 
-int
-cpu_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
-    void *newp, size_t newlen, struct proc *p)
-{
-
-       /* all sysctl names at this level are terminal */
-       if (namelen != 1)
-               return (ENOTDIR);               /* overloaded */
-
-       return (EOPNOTSUPP);
-}
-
 void
 cpu_reboot(int how, char *bootstr)
 {
diff -r d4cb7115800b -r 205925541ebd sys/arch/pdp10/pdp10/machdep.c
--- a/sys/arch/pdp10/pdp10/machdep.c    Sat Dec 06 03:01:16 2003 +0000
+++ b/sys/arch/pdp10/pdp10/machdep.c    Sat Dec 06 03:16:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.2 2003/09/26 12:02:56 simonb Exp $       */
+/*     $NetBSD: machdep.c,v 1.3 2003/12/06 03:16:49 atatat Exp $       */
 /*
  * Copyright (c) 2003 Anders Magnusson (ragge%ludd.luth.se@localhost).
  * All rights reserved.
@@ -225,13 +225,6 @@
 }
 
 int
-cpu_sysctl(int *a, u_int b, void *c, size_t *d, void *e,
-    size_t f, struct proc *g)
-{
-       return (EOPNOTSUPP);
-}
-
-int
 process_set_pc(struct lwp *p, caddr_t addr)
 {
        panic("process_set_pc");



Home | Main Index | Thread Index | Old Index