From: Stuart Yoder <stuart.yoder@freescale.com>
To: <agraf@suse.de>, <kvm-ppc@vger.kernel.org>, <kvm@vger.kernel.org>
Subject: [PATCH v12 1/8] PPC: epapr: create define for return code value of success
Date: Tue, 3 Jul 2012 10:48:49 -0500 [thread overview]
Message-ID: <1341330536-10080-2-git-send-email-stuart.yoder@freescale.com> (raw)
In-Reply-To: <1341330536-10080-1-git-send-email-stuart.yoder@freescale.com>
From: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
---
v12: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 3 ++-
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 bf2c06c..c0c7adc 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 */
--
1.7.3.4
next prev parent reply other threads:[~2012-07-03 15:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 15:48 [PATCH v12 0/8] KVM: PPC: Add ePAPR idle hcall support Stuart Yoder
2012-07-03 15:48 ` Stuart Yoder [this message]
2012-07-03 15:48 ` [PATCH v12 2/8] KVM: PPC: use definitions in epapr header for hcalls Stuart Yoder
2012-07-03 15:48 ` [PATCH v12 3/8] KVM: PPC: add pvinfo for hcall opcodes on e500mc/e5500 Stuart Yoder
2012-07-03 15:48 ` [PATCH v12 4/8] KVM: PPC: Add support for ePAPR idle hcall in host kernel Stuart Yoder
2012-07-03 19:33 ` Alexander Graf
2012-07-03 19:40 ` Yoder Stuart-B08248
2012-07-03 15:48 ` [PATCH v12 5/8] KVM: PPC: ev_idle hcall support for e500 guests Stuart Yoder
2012-07-03 15:48 ` [PATCH v12 6/8] PPC: select EPAPR_PARAVIRT for all users of epapr hcalls Stuart Yoder
2012-07-03 15:48 ` [PATCH v12 7/8] powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls Stuart Yoder
2012-07-03 15:48 ` [PATCH v12 8/8] PPC: Don't use hardcoded opcode for ePAPR hcall invocation Stuart Yoder
2012-07-03 19:41 ` [PATCH v12 0/8] KVM: PPC: Add ePAPR idle hcall support Alexander Graf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341330536-10080-2-git-send-email-stuart.yoder@freescale.com \
--to=stuart.yoder@freescale.com \
--cc=agraf@suse.de \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox