Skip to contentSkip to conversation

PPC: epapr: create define for return code value of success

PATCH New Alexander Graf 1 participant 1 message Oct 4, 2012 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/56 PPC: epapr: create define for return code value of success

From: Stuart Yoder <[email protected]>

---
 arch/powerpc/include/asm/epapr_hcalls.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/include/asm/epapr_hcalls.h +2 -1
index bf2c06c..c0c7adc 100644
@@ -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 */
Signature · 1 line
1.6.0.2