From dd4de64f1f83fbd810849265cab409c57f1619d9 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 19 Jan 2012 13:11:15 +0000 Subject: [PATCH] linux/compiler.h: Define __user and __iomem if missing. In the linux/compiler.h compatibility header, define the __user and __iomem macros with empty expansion if they are undefined. Signed-off-by: Ian Abbott --- include/linux/compiler.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/compiler.h b/include/linux/compiler.h index e84d7d85..4da90c2a 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -29,4 +29,12 @@ #define unlikely(x) __builtin_expect(!!(x),0) #endif +#ifndef __user +#define __user +#endif + +#ifndef __iomem +#define __iomem +#endif + #endif /* _COMPAT_COMPILER_H */ -- 2.26.2