From: Hauke Mehrtens Date: Sun, 22 May 2011 10:47:32 +0000 (+0200) Subject: compat: backport rcu_dereference_raw X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=52ca55640277af096e5cbceb87a6cc3bd724fc6b;p=openwrt%2Fstaging%2Fblogic.git compat: backport rcu_dereference_raw Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.34.h b/include/linux/compat-2.6.34.h index ad06a073da31..663a67e8e1a2 100644 --- a/include/linux/compat-2.6.34.h +++ b/include/linux/compat-2.6.34.h @@ -249,6 +249,8 @@ static inline int usb_disable_autosuspend(struct usb_device *udev) #define rcu_dereference_protected(p, c) (p) #define rcu_access_pointer(p) ACCESS_ONCE(p) +#define rcu_dereference_raw(p) rcu_dereference(p) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */ #endif /* LINUX_26_34_COMPAT_H */