projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3266ca5
)
linux/compiler.h: Define __user and __iomem if missing.
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Jan 2012 13:11:15 +0000
(13:11 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Jan 2012 13:11:15 +0000
(13:11 +0000)
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 <abbotti@mev.co.uk>
include/linux/compiler.h
patch
|
blob
|
history
diff --git
a/include/linux/compiler.h
b/include/linux/compiler.h
index e84d7d85bdb78633ea72c6141e22911bca5eddbb..4da90c2a6fb3719d9cf62eb4ec8fe47241a0549a 100644
(file)
--- 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 */