Page MenuHomeFreeBSD

D57897.id180801.diff
No OneTemporary

D57897.id180801.diff

diff --git a/sys/sys/cpu.h b/sys/sys/cpu.h
--- a/sys/sys/cpu.h
+++ b/sys/sys/cpu.h
@@ -51,6 +51,12 @@
return ((struct pcpu *)v);
}
+static __inline u_int
+cpu_get_pcpuid(device_t dev)
+{
+ return (cpu_get_pcpu(dev)->pc_cpuid);
+}
+
static __inline int32_t
cpu_get_nominal_mhz(device_t dev)
{

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 10:56 PM (15 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34421751
Default Alt Text
D57897.id180801.diff (301 B)

Event Timeline