diff mbox

compat: backport lockdep_assert_held

Message ID 1276635464-27982-1-git-send-email-hauke@hauke-m.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hauke Mehrtens June 15, 2010, 8:57 p.m. UTC
None
diff mbox

Patch

diff --git a/include/linux/compat-2.6.32.h b/include/linux/compat-2.6.32.h
index 3a41bd6..321a89a 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 */