]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r314878:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Aug 2017 12:59:14 +0000 (12:59 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Aug 2017 12:59:14 +0000 (12:59 +0000)
commit1f5b16a76103eca9000aadf8af56aa47a3acef18
treee00f822a97776adcdc8cc3b26cd3abd9cf54846d
parent9a417ba69eda7acba92a997cc213ad1c8c2b55b1
MFC r314878:
Add support for constant pointer constructs to READ_ONCE() in the
LinuxKPI. When the type of the argument is constant the temporary
variable cannot be assigned after the barrier. Instead assign the
temporary variable by initialization.

Approved by: re (kib)
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@322500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/include/linux/compiler.h