Switch from stdatomic.h to atomic.h for kernel.
authorkib <kib@FreeBSD.org>
Fri, 16 Dec 2016 17:41:20 +0000 (17:41 +0000)
committerkib <kib@FreeBSD.org>
Fri, 16 Dec 2016 17:41:20 +0000 (17:41 +0000)
commitfa7f8ddf1b8b1cc60864bdcbe24df294456e0dc3
treed05da913e5fb7721f8ec8ebbb7a48c3fde03b621
parent611a3ffb67415ff7a9fc0849566cbc84ca60e13a
Switch from stdatomic.h to atomic.h for kernel.

Apparently stdatomic.h implementation for gcc 4.2 on sparc64 does not
work properly.  This effectively reverts r251803.

Reported and tested by: lidl
Discussed with: ed
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/kern/kern_event.c