summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-11-09 20:29:10 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-11-09 20:29:10 +0000
commitf446f9def72f6f270f8c63127857deb322120c23 (patch)
treef953f2131a083f2e622b5ad2d6a2edc3b54f19bf /share/zoneinfo
parentab44b532fc14160602cb4a00f5a305b6f8750250 (diff)
downloadFreeBSD-src-f446f9def72f6f270f8c63127857deb322120c23.zip
FreeBSD-src-f446f9def72f6f270f8c63127857deb322120c23.tar.gz
Make isa_dma functions MPSAFE by introducing its own private lock. These
functions are selfcontained (ie. they touch only isa_dma.c static variables and hardware) so a private lock is sufficient to prevent races. This changes only i386/amd64 while there are also isa_dma functions for ia64/sparc64. Sparc64 are ones empty stubs and ia64 ones are unused as ia64 does not have isa (says marcel). This patch removes explicit locking of Giant from a few drivers (there are some that requires this but lack ones - this patch fixes this) and also removes the need for implicit locking of Giant from attach routines where it's provided by newbus. Approved by: ed (mentor, implicit) Reviewed by: jhb, attilio (glanced by) Tested by: Giovanni Trematerra <giovanni.trematerra gmail com> IA64 clue: marcel
Diffstat (limited to 'share/zoneinfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud