summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/epapr_hcalls.h
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@freescale.com>2012-07-03 09:48:49 +0400
committerAlexander Graf <agraf@suse.de>2012-10-06 01:38:36 +0400
commite13dcc1ab593452b99c39de2cb588c39f6d6a7e9 (patch)
tree89f772354ee61f73dee296e3ce2bebad060789dc /arch/powerpc/include/asm/epapr_hcalls.h
parent3d11df7abbff013b811d5615320580cd5d9d7d31 (diff)
downloadlinux-e13dcc1ab593452b99c39de2cb588c39f6d6a7e9.tar.xz
PPC: epapr: create define for return code value of success
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/epapr_hcalls.h')
-rw-r--r--arch/powerpc/include/asm/epapr_hcalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/epapr_hcalls.h b/arch/powerpc/include/asm/epapr_hcalls.h
index bf2c06c33871..c0c7adcd21e3 100644
--- 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 */