diff options
author | avg <avg@FreeBSD.org> | 2013-02-02 12:02:42 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-02-02 12:02:42 +0000 |
commit | 09a43450b8e300637ed1d8238be2e28d3a727adb (patch) | |
tree | 9901a738d6efc2c6aa1dd55e1cd0595b82b88cb6 /sys/amd64 | |
parent | 8e238c660c83a64a3ceb5bd22afe0ee62ec3cba4 (diff) | |
download | FreeBSD-src-09a43450b8e300637ed1d8238be2e28d3a727adb.zip FreeBSD-src-09a43450b8e300637ed1d8238be2e28d3a727adb.tar.gz |
x86 suspend/resume: suspend pics and pseudo-pics in reverse order
- change 'pics' from STAILQ to TAILQ
- ensure that Local APIC is always first in 'pics'
Reviewed by: jhb
Tested by: Sergey V. Dyatko <sergey.dyatko@gmail.com>,
KAHO Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
MFC after: 12 days
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/intr_machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/intr_machdep.h b/sys/amd64/include/intr_machdep.h index 700e35f..8671605 100644 --- a/sys/amd64/include/intr_machdep.h +++ b/sys/amd64/include/intr_machdep.h @@ -94,7 +94,7 @@ struct pic { int (*pic_config_intr)(struct intsrc *, enum intr_trigger, enum intr_polarity); int (*pic_assign_cpu)(struct intsrc *, u_int apic_id); - STAILQ_ENTRY(pic) pics; + TAILQ_ENTRY(pic) pics; }; /* Flags for pic_disable_source() */ |