Message ID | 20190701214914.8066-5-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | backports: Update for kernel 5.2 | expand |
diff --git a/backport/backport-include/linux/lockdep.h b/backport/backport-include/linux/lockdep.h index 5a5d0d0e..12b91b4f 100644 --- a/backport/backport-include/linux/lockdep.h +++ b/backport/backport-include/linux/lockdep.h @@ -14,4 +14,10 @@ #endif /* CONFIG_LOCKDEP */ #endif /* LINUX_VERSION_IS_LESS(3,9,0) */ +#if LINUX_VERSION_IS_LESS(4,15,0) +#ifndef CONFIG_LOCKDEP +struct lockdep_map { }; +#endif /* CONFIG_LOCKDEP */ +#endif /* LINUX_VERSION_IS_LESS(4,15,0) */ + #endif /* __BACKPORT_LINUX_LOCKDEP_H */