9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2012-06-22 12:49:03 +02:00
parent 6f5ea13f28
commit 27c5d37ecc
2 changed files with 1 additions and 2 deletions

View File

@ -135,7 +135,6 @@ struct kmem_cache { int i; };
#define GFP_KERNEL 0
#define GFP_NOFS 1
#define __user
#define __init
#define __exit

View File

@ -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))