aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/pcpu.h
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-05-31 21:22:44 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-05-31 21:22:44 +0000
commit61b926921f1e0ea3eae9511fb25ca6f016e0a5c2 (patch)
treec72d5598fc48383e545ddbc1e8438d9245766ca9 /sys/sys/pcpu.h
parent1de471dfee9267dde6b33dd262faefffb2b71bc9 (diff)
parent42e58c0372d7e63e774b5b079fe6ba1f3aa53da9 (diff)
downloadsrc-61b926921f1e0ea3eae9511fb25ca6f016e0a5c2.tar.gz
src-61b926921f1e0ea3eae9511fb25ca6f016e0a5c2.zip
MFC
Notes
Notes: svn path=/projects/largeSMP/; revision=222548
Diffstat (limited to 'sys/sys/pcpu.h')
-rw-r--r--sys/sys/pcpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
index 752d2dfbec0c..e6044a7a57b6 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];