aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-07-19 14:57:59 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-07-19 14:57:59 +0000
commitedf26ab83e5d4f274cfee43495472aef14b39b93 (patch)
tree452fd5167dff5595fb2cec18898d74d2d3e02394 /sys/sys
parent786ef92b7b0c86c4e0c92509abade475a7be9631 (diff)
downloadsrc-edf26ab83e5d4f274cfee43495472aef14b39b93.tar.gz
src-edf26ab83e5d4f274cfee43495472aef14b39b93.zip
Remove pc_name member of struct pcpu.
pc_name is only included when KTR option is and it does introduce a subdle KBI breakage that totally breaks vmstat when world and kernel are not in sync. Besides, it is not used somewhere. In collabouration with: pluknet Reviewed by: jhb Approved by: re (kib)
Notes
Notes: svn path=/head/; revision=224218
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/pcpu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
index b25fcc89cb06..e39f07baacc5 100644
--- a/sys/sys/pcpu.h
+++ b/sys/sys/pcpu.h
@@ -165,9 +165,6 @@ struct pcpu {
u_int pc_cpuid; /* This cpu number */
STAILQ_ENTRY(pcpu) pc_allcpu;
struct lock_list_entry *pc_spinlocks;
-#ifdef KTR
- char pc_name[PCPU_NAME_LEN]; /* String name for KTR */
-#endif
struct vmmeter pc_cnt; /* VM stats counters */
long pc_cp_time[CPUSTATES]; /* statclock ticks */
struct device *pc_device;