summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-01-08 19:17:49 +0000
committerbde <bde@FreeBSD.org>1999-01-08 19:17:49 +0000
commite53595f704322430791eaee9e3f65b0c80fc6c0e (patch)
tree9d92ec9b3a3e856f5448f3b7b6425b4c61ec9de5 /sys/dev
parent670683fcb99d8dc6fd235f8111c5c641e149a065 (diff)
downloadFreeBSD-src-e53595f704322430791eaee9e3f65b0c80fc6c0e.zip
FreeBSD-src-e53595f704322430791eaee9e3f65b0c80fc6c0e.tar.gz
Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partially
unspammed them in the SMP case.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/advansys/adwlib.c5
-rw-r--r--sys/dev/cy/cy.c5
-rw-r--r--sys/dev/cy/cy_isa.c5
3 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/advansys/adwlib.c b/sys/dev/advansys/adwlib.c
index e2b93ac..c727ca6 100644
--- a/sys/dev/advansys/adwlib.c
+++ b/sys/dev/advansys/adwlib.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: adwlib.c,v 1.1 1998/10/07 03:20:46 gibbs Exp $
*/
/*
* Ported from:
@@ -43,7 +43,8 @@
* code retain the above copyright notice and this comment without
* modification.
*/
-#include <sys/queue.h>
+
+#include <sys/types.h>
#include <sys/systm.h>
#include <machine/bus_pio.h>
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 30a2cac..794d4d6 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.81 1998/12/19 16:28:57 bde Exp $
+ * $Id: cy.c,v 1.82 1998/12/24 14:17:57 bde Exp $
*/
#include "opt_compat.h"
@@ -86,6 +86,9 @@
#include <machine/clock.h>
#include <machine/ipl.h>
+#ifndef SMP
+#include <machine/lock.h>
+#endif
#include <i386/isa/isa_device.h>
#include <i386/isa/cyreg.h>
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 30a2cac..794d4d6 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.81 1998/12/19 16:28:57 bde Exp $
+ * $Id: cy.c,v 1.82 1998/12/24 14:17:57 bde Exp $
*/
#include "opt_compat.h"
@@ -86,6 +86,9 @@
#include <machine/clock.h>
#include <machine/ipl.h>
+#ifndef SMP
+#include <machine/lock.h>
+#endif
#include <i386/isa/isa_device.h>
#include <i386/isa/cyreg.h>
OpenPOWER on IntegriCloud