diff options
Diffstat (limited to 'include/linux/rwlock_types.h')
-rw-r--r-- | include/linux/rwlock_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/rwlock_types.h b/include/linux/rwlock_types.h index 857a72ceb794..c21683f3e14a 100644 --- a/include/linux/rwlock_types.h +++ b/include/linux/rwlock_types.h @@ -1,6 +1,10 @@ #ifndef __LINUX_RWLOCK_TYPES_H #define __LINUX_RWLOCK_TYPES_H +#if !defined(__LINUX_SPINLOCK_TYPES_H) +# error "Do not include directly, include spinlock_types.h" +#endif + /* * include/linux/rwlock_types.h - generic rwlock type definitions * and initializers |