projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
video: Convert CONFIG_VIDEO_LOGO to Kconfig
[platform/kernel/u-boot.git]
/
include
/
errno.h
diff --git
a/include/errno.h
b/include/errno.h
index
3af539b
..
652ad67
100644
(file)
--- a/
include/errno.h
+++ b/
include/errno.h
@@
-8,7
+8,13
@@
#include <linux/errno.h>
-extern int errno;
+#ifdef __SANDBOX__
+#define __errno_asm_label asm("__u_boot_errno")
+#else
+#define __errno_asm_label
+#endif
+
+extern int errno __errno_asm_label;
#define __set_errno(val) do { errno = val; } while (0)