summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-22 12:49:03 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-30 22:34:54 +0200
commit27c5d37ecca94af584e4794ca7175648e766df54 (patch)
tree1836f798eb0881c3946d4a0d3dcc24e4bc49ef64 /include
parent6f5ea13f28a5bf097ad597c0990d15b3a25b20c4 (diff)
downloadbarebox-27c5d37ecca94af584e4794ca7175648e766df54.tar.gz
barebox-27c5d37ecca94af584e4794ca7175648e766df54.tar.xz
define __user empty
There is no seperate user address space, so do not generate sparse warnings for this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 5be3dab4a6..cc8c4de43e 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -4,7 +4,7 @@
#ifndef __ASSEMBLY__
#ifdef __CHECKER__
-# define __user __attribute__((noderef, address_space(1)))
+# define __user /* no user address space in barebox */
# define __kernel /* default address space */
# define __safe __attribute__((safe))
# define __force __attribute__((force))