Date: Tue, 9 Aug 2016 21:45:47 +0000 (UTC) From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303895 - head/sys/sys Message-ID: <201608092145.u79Ljlrq018467@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dumbbell Date: Tue Aug 9 21:45:47 2016 New Revision: 303895 URL: https://svnweb.freebsd.org/changeset/base/303895 Log: sys/pcpu.h: Revert change introduced in r303890 `device_t` is not defined outside the kernel but this header is used by eg. libkvm or vmstat(8). Thus, r303890 broke the build. So let's restore `struct device` here until a longer term solution is found. Reported by: Michael Butler <imb@protected-networks.net>, Jenkins MFC after: 3 days MFC with: r303890 Modified: head/sys/sys/pcpu.h Modified: head/sys/sys/pcpu.h ============================================================================== --- head/sys/sys/pcpu.h Tue Aug 9 19:46:05 2016 (r303894) +++ head/sys/sys/pcpu.h Tue Aug 9 21:45:47 2016 (r303895) @@ -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 */ - device_t pc_device; + struct device *pc_device; void *pc_netisr; /* netisr SWI cookie */ int pc_unused1; /* unused field */ int pc_domain; /* Memory domain. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608092145.u79Ljlrq018467>