Whamcloud - gitweb
b=22418 2.6.32 compat synchronize_rcu already defined
authorBrian J. Murrell <brian.murrell@oracle.com>
Wed, 25 Aug 2010 22:56:05 +0000 (18:56 -0400)
committerJohann Lombardi <johann.lombardi@oracle.com>
Fri, 27 Aug 2010 20:38:32 +0000 (22:38 +0200)
commita89d1e7c4be195aa2fbf1492e9b0b99544dc99b1
tree373338a81783076997faf86fcb30885099fe794a
parenta176c7bfa8a527ac52887649c9a006d48b4a4237
b=22418 2.6.32 compat synchronize_rcu already defined

In 2.6.32 kernels when !CONFIG_TREE_PREEMPT_RCU synchronize_rcu is a #define
instead of being exported symbol.  In 2.6.33 kernels it  is an exported as
a symbol regardless of the configure option.  To handle this when the symbol
is not exported use the kernels provided define if available.  Otherwise
fallback to providing our own for older kernels.

o=brian.behlendorf
i=andreas
i=kalpak
lustre/include/linux/lustre_compat25.h