[PATCH RT 1/7] locking: add types.h

From: Daniel Wagner
Date: Wed Apr 04 2018 - 03:19:07 EST


From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

During the stable update the arm architecture did not compile anymore
due to missing definition of u16/32.

Cc: stable-rt@xxxxxxxxxxxxxxx
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
include/linux/spinlock_types_raw.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/spinlock_types_raw.h b/include/linux/spinlock_types_raw.h
index edffc4d53fc9..03235b475b77 100644
--- a/include/linux/spinlock_types_raw.h
+++ b/include/linux/spinlock_types_raw.h
@@ -1,6 +1,8 @@
#ifndef __LINUX_SPINLOCK_TYPES_RAW_H
#define __LINUX_SPINLOCK_TYPES_RAW_H

+#include <linux/types.h>
+
#if defined(CONFIG_SMP)
# include <asm/spinlock_types.h>
#else
--
2.14.3