From db23ff0e450ef028af2aab49abce0d2947dc0e86 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 22 Nov 2021 09:47:06 +0100 Subject: include: : wrap in #ifndef __ASSEMBLY__ While it makes no sense for assembly sources to include directly, it may be included transitively outside of an __ASSEMBLY__ guard, thus wrap it completely in the __ASSEMBLY__ guard, just like Linux does. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20211122084732.2597109-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- include/linux/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/types.h b/include/linux/types.h index 5716a4c92f..dfef336c19 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -1,5 +1,6 @@ #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H +#ifndef __ASSEMBLY__ #include #include @@ -213,4 +214,5 @@ struct hlist_node { struct hlist_node *next, **pprev; }; +#endif #endif /* _LINUX_TYPES_H */ -- cgit v1.2.3