From patchwork Mon May 16 17:43:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 788962 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4GHhpjX028911 for ; Mon, 16 May 2011 17:43:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754197Ab1EPRnl (ORCPT ); Mon, 16 May 2011 13:43:41 -0400 Received: from nbd.name ([46.4.11.11]:56959 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754146Ab1EPRnk (ORCPT ); Mon, 16 May 2011 13:43:40 -0400 Received: by nf.local (Postfix, from userid 501) id 4AC1F49250BD; Mon, 16 May 2011 19:43:35 +0200 (CEST) From: Felix Fietkau To: lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org Subject: [PATCH 1/3] compat: add an empty definition for __rcu Date: Mon, 16 May 2011 19:43:33 +0200 Message-Id: <1305567815-73528-1-git-send-email-nbd@openwrt.org> X-Mailer: git-send-email 1.7.3.2 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 16 May 2011 17:44:07 +0000 (UTC) Signed-off-by: Felix Fietkau --- include/linux/compat-2.6.36.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h index 806993b..7a82522 100644 --- a/include/linux/compat-2.6.36.h +++ b/include/linux/compat-2.6.36.h @@ -120,6 +120,9 @@ static inline void tty_unlock(void) __releases(kernel_lock) #define tty_locked() (kernel_locked()) #define usleep_range(_min, _max) msleep((_max) / 1000) + +#define __rcu + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */ #endif /* LINUX_26_36_COMPAT_H */