]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PPC: epapr: create define for return code value of success
authorStuart Yoder <stuart.yoder@freescale.com>
Tue, 3 Jul 2012 05:48:49 +0000 (05:48 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 24 Sep 2012 12:50:09 +0000 (14:50 +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

index bf2c06c338719e66c20db73bf8bc8d0bb8dabc5d..c0c7adcd21e3a85a3f74254caa333d7836ef834a 100644 (file)
@@ -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 */