Module Name:    src
Committed By:   matt
Date:           Wed Jun 15 05:50:49 UTC 2011

Modified Files:
        src/sys/arch/evbppc/explora: machdep.c
        src/sys/arch/evbppc/obs405: obs200_machdep.c obs266_machdep.c
            obs600_machdep.c
        src/sys/arch/evbppc/virtex: machdep.c
        src/sys/arch/evbppc/walnut: machdep.c
        src/sys/arch/powerpc/booke: booke_machdep.c
        src/sys/arch/rs6000/rs6000: machdep.c

Log Message:
lcsplx is dead.  remove last vestiges of it.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbppc/explora/machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbppc/obs405/obs200_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbppc/obs405/obs266_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/obs405/obs600_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbppc/virtex/machdep.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/evbppc/walnut/machdep.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/booke/booke_machdep.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/rs6000/rs6000/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbppc/explora/machdep.c
diff -u src/sys/arch/evbppc/explora/machdep.c:1.33 src/sys/arch/evbppc/explora/machdep.c:1.34
--- src/sys/arch/evbppc/explora/machdep.c:1.33	Sun Jun 12 03:42:41 2011
+++ src/sys/arch/evbppc/explora/machdep.c	Wed Jun 15 05:50:48 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.33 2011/06/12 03:42:41 mrg Exp $	*/
+/*	$NetBSD: machdep.c,v 1.34 2011/06/15 05:50:48 matt Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2011/06/15 05:50:48 matt Exp $");
 
 #include "opt_explora.h"
 #include "opt_modular.h"
@@ -87,7 +87,6 @@
 
 void		bootstrap(u_int, u_int);
 static void	install_extint(void (*)(void));
-int		lcsplx(int);
 
 /*
  * Trap vectors
@@ -352,12 +351,6 @@
 	module_machine = module_machine_ibm4xx;
 }
 
-int
-lcsplx(int ipl)
-{
-	return spllower(ipl);	/*XXX*/
-}
-
 void
 cpu_reboot(int howto, char *what)
 {

Index: src/sys/arch/evbppc/obs405/obs200_machdep.c
diff -u src/sys/arch/evbppc/obs405/obs200_machdep.c:1.15 src/sys/arch/evbppc/obs405/obs200_machdep.c:1.16
--- src/sys/arch/evbppc/obs405/obs200_machdep.c:1.15	Sun Jun 12 03:42:41 2011
+++ src/sys/arch/evbppc/obs405/obs200_machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: obs200_machdep.c,v 1.15 2011/06/12 03:42:41 mrg Exp $	*/
+/*	$NetBSD: obs200_machdep.c,v 1.16 2011/06/15 05:50:49 matt Exp $	*/
 /*	Original: machdep.c,v 1.3 2005/01/17 17:24:09 shige Exp	*/
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.15 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.16 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -132,8 +132,6 @@
 #endif
 
 void initppc(u_int, u_int, char *, void *);
-int lcsplx(int);
-
 
 void
 initppc(u_int startkernel, u_int endkernel, char *args, void *info_block)
@@ -211,14 +209,6 @@
 #endif
 }
 
-int
-lcsplx(int ipl)
-{
-
-	return spllower(ipl); 	/* XXX */
-}
-
-
 /*
  * Machine dependent startup code.
  */

Index: src/sys/arch/evbppc/obs405/obs266_machdep.c
diff -u src/sys/arch/evbppc/obs405/obs266_machdep.c:1.16 src/sys/arch/evbppc/obs405/obs266_machdep.c:1.17
--- src/sys/arch/evbppc/obs405/obs266_machdep.c:1.16	Sun Jun 12 03:42:41 2011
+++ src/sys/arch/evbppc/obs405/obs266_machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: obs266_machdep.c,v 1.16 2011/06/12 03:42:41 mrg Exp $	*/
+/*	$NetBSD: obs266_machdep.c,v 1.17 2011/06/15 05:50:49 matt Exp $	*/
 /*	Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $	*/
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.16 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.17 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -132,8 +132,6 @@
 #endif
 
 void initppc(u_int, u_int, char *, void *);
-int lcsplx(int);
-
 
 void
 initppc(u_int startkernel, u_int endkernel, char *args, void *info_block)
@@ -202,14 +200,6 @@
 #endif
 }
 
-int
-lcsplx(int ipl)
-{
-
-	return spllower(ipl); 	/* XXX */
-}
-
-
 /*
  * Machine dependent startup code.
  */

Index: src/sys/arch/evbppc/obs405/obs600_machdep.c
diff -u src/sys/arch/evbppc/obs405/obs600_machdep.c:1.4 src/sys/arch/evbppc/obs405/obs600_machdep.c:1.5
--- src/sys/arch/evbppc/obs405/obs600_machdep.c:1.4	Sun Jun 12 03:42:41 2011
+++ src/sys/arch/evbppc/obs405/obs600_machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: obs600_machdep.c,v 1.4 2011/06/12 03:42:41 mrg Exp $	*/
+/*	$NetBSD: obs600_machdep.c,v 1.5 2011/06/15 05:50:49 matt Exp $	*/
 /*	Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $	*/
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs600_machdep.c,v 1.4 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs600_machdep.c,v 1.5 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -141,7 +141,6 @@
 #endif
 
 void initppc(u_int, u_int, int, char *[], char *);
-int lcsplx(int);
 static int read_eeprom(int, char *);
 
 
@@ -214,14 +213,6 @@
 #endif /* NCOM */
 }
 
-int
-lcsplx(int ipl)
-{
-
-	return spllower(ipl); 	/* XXX */
-}
-
-
 /*
  * Machine dependent startup code.
  */

Index: src/sys/arch/evbppc/virtex/machdep.c
diff -u src/sys/arch/evbppc/virtex/machdep.c:1.16 src/sys/arch/evbppc/virtex/machdep.c:1.17
--- src/sys/arch/evbppc/virtex/machdep.c:1.16	Sun Jun 12 03:42:41 2011
+++ src/sys/arch/evbppc/virtex/machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.16 2011/06/12 03:42:41 mrg Exp $ */
+/*	$NetBSD: machdep.c,v 1.17 2011/06/15 05:50:49 matt Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -109,7 +109,6 @@
 void *startsym, *endsym;
 #endif
 
-int lcsplx(int);
 void initppc(u_int, u_int);
 
 static void dumpsys(void);
@@ -477,9 +476,3 @@
 		/* nothing */;
 #endif
 }
-
-int
-lcsplx(int ipl)
-{
-	return spllower(ipl); 	/* XXX */
-}

Index: src/sys/arch/evbppc/walnut/machdep.c
diff -u src/sys/arch/evbppc/walnut/machdep.c:1.49 src/sys/arch/evbppc/walnut/machdep.c:1.50
--- src/sys/arch/evbppc/walnut/machdep.c:1.49	Sun Jun 12 03:42:42 2011
+++ src/sys/arch/evbppc/walnut/machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.49 2011/06/12 03:42:42 mrg Exp $	*/
+/*	$NetBSD: machdep.c,v 1.50 2011/06/15 05:50:49 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.49 2011/06/12 03:42:42 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.50 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -142,7 +142,6 @@
 void *startsym, *endsym;
 #endif
 
-int lcsplx(int);
 void initppc(u_int, u_int, char *, void *);
 
 static void dumpsys(void);
@@ -545,13 +544,6 @@
 #endif
 }
 
-int
-lcsplx(int ipl)
-{
-
-	return spllower(ipl); 	/* XXX */
-}
-
 void
 mem_regions(struct mem_region **mem, struct mem_region **avail)
 {

Index: src/sys/arch/powerpc/booke/booke_machdep.c
diff -u src/sys/arch/powerpc/booke/booke_machdep.c:1.6 src/sys/arch/powerpc/booke/booke_machdep.c:1.7
--- src/sys/arch/powerpc/booke/booke_machdep.c:1.6	Sun Jun  5 16:52:24 2011
+++ src/sys/arch/powerpc/booke/booke_machdep.c	Wed Jun 15 05:50:49 2011
@@ -159,8 +159,6 @@
 
 int fake_mapiodev = 1;
 
-void lcsplx(int);
-
 void
 booke_cpu_startup(const char *model)
 {
@@ -286,11 +284,6 @@
 		/* nothing */;
 #endif
 }
-void
-lcsplx(int spl)
-{
-	splx(spl);
-}
 
 /*
  * mapiodev:

Index: src/sys/arch/rs6000/rs6000/machdep.c
diff -u src/sys/arch/rs6000/rs6000/machdep.c:1.8 src/sys/arch/rs6000/rs6000/machdep.c:1.9
--- src/sys/arch/rs6000/rs6000/machdep.c:1.8	Fri Nov 27 03:23:13 2009
+++ src/sys/arch/rs6000/rs6000/machdep.c	Wed Jun 15 05:50:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.8 2009/11/27 03:23:13 rmind Exp $	*/
+/*	$NetBSD: machdep.c,v 1.9 2011/06/15 05:50:49 matt Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.8 2009/11/27 03:23:13 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.9 2011/06/15 05:50:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -94,7 +94,6 @@
 void initppc(u_long, u_long, u_int, void *);
 void dumpsys(void);
 void strayintr(int);
-int lcsplx(int);
 void rs6000_bus_space_init(void);
 void setled(uint32_t);
 void say_hi(void);

Reply via email to