path: root/sys/sys/pcpu.h
diff options
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2016-08-09 19:32:06 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2016-08-09 19:32:06 +0000
commitbd937497ea2a1111d9cf6ff1cdbe698b3cdd430a (patch)
treecd36a4cc1858d305bf7632b49f8862e1ea5067dc /sys/sys/pcpu.h
parent8e60fa95cb5d4ee7e70601a9b8542240fb1c2522 (diff)
Consistently use `device_t`
Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on FreeBSD and it's unclear what to do. Submitted by: Matthew Macy <mmacy@nextbsd.org> (previous version) Approved by: emaste, jhibbits, sbruno MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7447
Notes: svn path=/head/; revision=303890
Diffstat (limited to 'sys/sys/pcpu.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
index d6d1b3d82c7b..8e6a71a8c1ea 100644
--- a/sys/sys/pcpu.h
+++ b/sys/sys/pcpu.h
@@ -160,7 +160,7 @@ struct pcpu {
struct lock_list_entry *pc_spinlocks;
struct vmmeter pc_cnt; /* VM stats counters */
long pc_cp_time[CPUSTATES]; /* statclock ticks */
- struct device *pc_device;
+ device_t pc_device;
void *pc_netisr; /* netisr SWI cookie */
int pc_unused1; /* unused field */
int pc_domain; /* Memory domain. */