summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-26 07:02:53 (GMT)
committerTom Rini <trini@ti.com>2014-12-08 14:35:46 (GMT)
commit063ec38a752a79ebcecfaf47802c636f2318c7bf (patch)
tree8514ff9ec0da8e944e06ceb4d55e721860e091a9 /include/linux
parentafc366f01bea2361bc08b1a7b51e0cef81d66173 (diff)
downloadu-boot-063ec38a752a79ebcecfaf47802c636f2318c7bf.tar.xz
linux/compat.h: remove redundant macro defines
__user and __iomem are defined in include/linux/compiler.h. MAX_ERRNO is defined in include/linux/err.h. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 47b0889..b40133c 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -215,13 +215,11 @@ typedef int wait_queue_head_t;
#define cond_resched() do { } while (0)
#define yield() do { } while (0)
-#define __user
#define __init
#define __exit
#define __devinit
#define __devinitdata
#define __devinitconst
-#define __iomem
#define kthread_create(...) __builtin_return_address(0)
#define kthread_stop(...) do { } while (0)
@@ -252,8 +250,6 @@ struct cdev {
#define cdev_add(...) 0
#define cdev_del(...) do { } while (0)
-#define MAX_ERRNO 4095
-
#define prandom_u32(...) 0
typedef struct {