From 7e7ccbc109a05f780ca75dd30306b8d8bb415588 Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Fri, 20 Aug 2010 20:29:06 +0400 Subject: [PATCH] b=22418 2.6.32 compat synchronize_rcu already defined i=adilger i=kalpak --- lustre/include/linux/lustre_compat25.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 6498202..dcf399a 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -627,8 +627,11 @@ static inline int ll_crypto_hmac(struct crypto_tfm *tfm, #endif /* HAVE_ASYNC_BLOCK_CIPHER */ #ifndef HAVE_SYNCHRONIZE_RCU +/* Linux 2.6.32 provides define when !CONFIG_TREE_PREEMPT_RCU */ +#ifndef synchronize_rcu #define synchronize_rcu() synchronize_kernel() #endif +#endif #ifdef HAVE_FILE_REMOVE_SUID # define ll_remove_suid(file, mnt) file_remove_suid(file) -- 1.8.3.1