From 52ca55640277af096e5cbceb87a6cc3bd724fc6b Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 22 May 2011 12:47:32 +0200 Subject: [PATCH] compat: backport rcu_dereference_raw Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.34.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.30.2