From: Ian Abbott Date: Thu, 19 Jan 2012 13:11:15 +0000 (+0000) Subject: linux/compiler.h: Define __user and __iomem if missing. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd4de64f1f83fbd810849265cab409c57f1619d9;p=comedi.git 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 --- 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 */