From b6af507a6e320b8aec2b8ef520bed4a455d26db4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 15 Jun 2010 22:57:44 +0200 Subject: [PATCH] compat: backport lockdep_assert_held Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.32.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.32.h b/include/linux/compat-2.6.32.h index 3a41bd60542a..321a89ad413c 100644 --- a/include/linux/compat-2.6.32.h +++ b/include/linux/compat-2.6.32.h @@ -94,6 +94,8 @@ struct dev_pm_ops name = { \ #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) +#define lockdep_assert_held(l) do { } while (0) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)) */ #endif /* LINUX_26_32_COMPAT_H */ -- 2.30.2