public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ehrhardt Christian <ehrhardt@linux.vnet.ibm.com>
To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, avi@redhat.com
Cc: ehrhardt@linux.vnet.ibm.com, hollisb@us.ibm.com,
	borntraeger@de.ibm.com, cotte@de.ibm.com
Subject: [PATCH] kvm-userspace: add ibm archs to unifdef header
Date: Mon, 03 Nov 2008 18:15:46 +0100	[thread overview]
Message-ID: <0c2491cd5be222ddc0ff.1225732546@HelionPrime> (raw)

This adds powerpc to the unifdef header avi introduced.
I think s390 should work the same way and is needed as they have libkvm already.
Christian/Carsten could you ack that after a quick test if it is working?

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---

[diffstat]
 unifdef.h |   12 ++++++++++++
 1 file changed, 12 insertions(+)

[diff]

diff --git a/kernel/unifdef.h b/kernel/unifdef.h
--- a/kernel/unifdef.h
+++ b/kernel/unifdef.h
@@ -25,4 +25,16 @@
 #endif
 #endif
 
+#ifdef __PPC__
+#ifndef CONFIG_PPC
+#define CONFIG_PPC 1
 #endif
+#endif
+
+#ifdef __s390__
+#ifndef CONFIG_S390
+#define CONFIG_S390 1
+#endif
+#endif
+
+#endif

             reply	other threads:[~2008-11-03 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 17:15 Ehrhardt Christian [this message]
2008-11-04 10:13 ` [PATCH] kvm-userspace: add ibm archs to unifdef header Avi Kivity
2008-11-04 11:53 ` Christian Borntraeger
     [not found]   ` <200811041253.04465.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2008-11-04 13:10     ` Avi Kivity

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=0c2491cd5be222ddc0ff.1225732546@HelionPrime \
    --to=ehrhardt@linux.vnet.ibm.com \
    --cc=avi@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cotte@de.ibm.com \
    --cc=hollisb@us.ibm.com \
    --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