Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc remove dup cpu_model sysctl; use th...
details: https://anonhg.NetBSD.org/src/rev/a06eb2f5155f
branches: trunk
changeset: 328040:a06eb2f5155f
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 24 19:14:31 2014 +0000
description:
remove dup cpu_model sysctl; use the mi version in hw.
diffstat:
sys/arch/powerpc/powerpc/powerpc_machdep.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 0fa69047f117 -r a06eb2f5155f sys/arch/powerpc/powerpc/powerpc_machdep.c
--- a/sys/arch/powerpc/powerpc/powerpc_machdep.c Mon Mar 24 19:13:48 2014 +0000
+++ b/sys/arch/powerpc/powerpc/powerpc_machdep.c Mon Mar 24 19:14:31 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: powerpc_machdep.c,v 1.68 2014/03/06 19:44:32 matt Exp $ */
+/* $NetBSD: powerpc_machdep.c,v 1.69 2014/03/24 19:14:31 christos Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.68 2014/03/06 19:44:32 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.69 2014/03/24 19:14:31 christos Exp $");
#include "opt_altivec.h"
#include "opt_modular.h"
@@ -269,11 +269,6 @@
#endif
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_STRING, "model", NULL,
- NULL, 0, cpu_model, 0,
- CTL_MACHDEP, CPU_MODEL, CTL_EOL);
- sysctl_createv(clog, 0, NULL, NULL,
- CTLFLAG_PERMANENT,
CTLTYPE_STRING, "booted_device", NULL,
sysctl_machdep_booted_device, 0, NULL, 0,
CTL_MACHDEP, CPU_BOOTED_DEVICE, CTL_EOL);
Home |
Main Index |
Thread Index |
Old Index