Move uninitialized_var() macro from ubi_uboot.h to compiler.h
This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
This commit is contained in:

committed by
Wolfgang Denk

parent
d72871e138
commit
d8bc55a6fb
@@ -122,4 +122,7 @@ typedef unsigned int uintptr_t;
|
||||
|
||||
#endif
|
||||
|
||||
/* compiler options */
|
||||
#define uninitialized_var(x) x = x
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user