OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d11df7
)
PPC: epapr: create define for return code value of success
author
Stuart Yoder
<stuart.yoder@freescale.com>
Tue, 3 Jul 2012 05:48:49 +0000
(
05:48
+0000)
committer
Alexander Graf
<agraf@suse.de>
Fri, 5 Oct 2012 21:38:36 +0000
(23:38 +0200)
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/epapr_hcalls.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/epapr_hcalls.h
b/arch/powerpc/include/asm/epapr_hcalls.h
index
bf2c06c
..
c0c7adc
100644
(file)
--- a/
arch/powerpc/include/asm/epapr_hcalls.h
+++ b/
arch/powerpc/include/asm/epapr_hcalls.h
@@
-88,7
+88,8
@@
#define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num))
#define EV_HCALL_TOKEN(hcall_num) _EV_HCALL_TOKEN(EV_EPAPR_VENDOR_ID, hcall_num)
-/* epapr error codes */
+/* epapr return codes */
+#define EV_SUCCESS 0
#define EV_EPERM 1 /* Operation not permitted */
#define EV_ENOENT 2 /* Entry Not Found */
#define EV_EIO 3 /* I/O error occured */