]> git.openfabrics.org - ~tnikolova/compat/.git/commit
compat: add smp_mb__before_clear_bit as necessary
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Wed, 4 Mar 2015 16:37:59 +0000 (11:37 -0500)
committerMike Marciniszyn <mike.marciniszyn@intel.com>
Wed, 4 Mar 2015 18:10:33 +0000 (13:10 -0500)
commit0689335320e4aab4b5fe949143e103688c901c03
tree9753830f87e00e3818d605c9f989b08b596e24fa
parent4f7837df4805267af03a6655b44a7f5c3f7f1891
compat: add smp_mb__before_clear_bit as necessary

RHEL7.1 no longer has the above macro in <asm/bitops.h>.

Add it in the compat version of <linux/bitops> as if
<asm/bitops.h> had provided it.

This really include probably needs to be reworked using
the autoconf stuff.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
include/linux/bitops.h