diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-31 21:22:44 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-31 21:22:44 +0000 |
commit | bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7 (patch) | |
tree | c72d5598fc48383e545ddbc1e8438d9245766ca9 /sys/sys/pcpu.h | |
parent | 27825059cd2a1ad6c708ee2089f7e182c12e84b1 (diff) | |
download | FreeBSD-src-bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7.zip FreeBSD-src-bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7.tar.gz |
MFC
Diffstat (limited to 'sys/sys/pcpu.h')
-rw-r--r-- | sys/sys/pcpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index 752d2df..e6044a7 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -163,7 +163,7 @@ struct pcpu { uint64_t pc_switchtime; /* cpu_ticks() at last csw */ int pc_switchticks; /* `ticks' at last csw */ u_int pc_cpuid; /* This cpu number */ - SLIST_ENTRY(pcpu) pc_allcpu; + STAILQ_ENTRY(pcpu) pc_allcpu; struct lock_list_entry *pc_spinlocks; #ifdef KTR char pc_name[PCPU_NAME_LEN]; /* String name for KTR */ @@ -212,7 +212,7 @@ struct pcpu { #ifdef _KERNEL -SLIST_HEAD(cpuhead, pcpu); +STAILQ_HEAD(cpuhead, pcpu); extern struct cpuhead cpuhead; extern struct pcpu *cpuid_to_pcpu[MAXCPU]; |