diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-01-24 02:28:18 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-01-24 02:28:18 +0000 |
commit | a60294e69cf0a2edb0b9244cdb10f317b9bdf7ec (patch) | |
tree | 4c38a53239855c5620acfe238cc261cb80ae64fe /sys/dev/ic | |
parent | dcadd540bf3bb72228eda9bb747a7d398a1874a2 (diff) |
Use header <sys/atomic.h> rather than <machine/atomic.h> in MI code.
OK mpi@ deraadt@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/qla.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/qlw.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/qla.c b/sys/dev/ic/qla.c index a0b37c7d72e..a799ea0d6bf 100644 --- a/sys/dev/ic/qla.c +++ b/sys/dev/ic/qla.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qla.c,v 1.54 2016/05/10 11:16:18 dlg Exp $ */ +/* $OpenBSD: qla.c,v 1.55 2017/01/24 02:28:17 visa Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -19,6 +19,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/atomic.h> #include <sys/device.h> #include <sys/ioctl.h> #include <sys/malloc.h> @@ -28,7 +29,6 @@ #include <sys/sensors.h> #include <sys/queue.h> -#include <machine/atomic.h> #include <machine/bus.h> #include <scsi/scsi_all.h> diff --git a/sys/dev/ic/qlw.c b/sys/dev/ic/qlw.c index 0365c4a4274..a56ac43a40d 100644 --- a/sys/dev/ic/qlw.c +++ b/sys/dev/ic/qlw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qlw.c,v 1.30 2015/09/17 17:59:15 miod Exp $ */ +/* $OpenBSD: qlw.c,v 1.31 2017/01/24 02:28:17 visa Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -20,6 +20,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/atomic.h> #include <sys/device.h> #include <sys/ioctl.h> #include <sys/malloc.h> @@ -29,7 +30,6 @@ #include <sys/sensors.h> #include <sys/queue.h> -#include <machine/atomic.h> #include <machine/bus.h> #include <scsi/scsi_all.h> |