diff options
Diffstat (limited to 'kernel/include/linux/spinlock_types.h')
-rw-r--r-- | kernel/include/linux/spinlock_types.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/include/linux/spinlock_types.h b/kernel/include/linux/spinlock_types.h new file mode 100644 index 000000000..10bac715e --- /dev/null +++ b/kernel/include/linux/spinlock_types.h @@ -0,0 +1,23 @@ +#ifndef __LINUX_SPINLOCK_TYPES_H +#define __LINUX_SPINLOCK_TYPES_H + +/* + * include/linux/spinlock_types.h - generic spinlock type definitions + * and initializers + * + * portions Copyright 2005, Red Hat, Inc., Ingo Molnar + * Released under the General Public License (GPL). + */ + +#include <linux/spinlock_types_raw.h> + +#ifndef CONFIG_PREEMPT_RT_FULL +# include <linux/spinlock_types_nort.h> +# include <linux/rwlock_types.h> +#else +# include <linux/rtmutex.h> +# include <linux/spinlock_types_rt.h> +# include <linux/rwlock_types_rt.h> +#endif + +#endif /* __LINUX_SPINLOCK_TYPES_H */ |