summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-11-15 20:17:18 +0000
committermarius <marius@FreeBSD.org>2011-11-15 20:17:18 +0000
commit6e89cebeb5a84ba17752fa897457afc9290cfe7d (patch)
tree251a03c5132cc63ad8bfccb9c7c28568a43dab16 /sys/netinet/sctp_pcb.c
parente4caa3a047dedda183a89b1d822fddedbafda85d (diff)
downloadFreeBSD-src-6e89cebeb5a84ba17752fa897457afc9290cfe7d.zip
FreeBSD-src-6e89cebeb5a84ba17752fa897457afc9290cfe7d.tar.gz
Define curthread as an inline function that loads the thread pointer
directly from g7, the pcpu pointer. This guarantees correct behavior when the thread migrates to a different CPU. Commit message stolen from r205431. Additional testing by Peter Jeremy. MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud