From: Ehrhardt Christian Date: Mon, 03 Nov 2008 17:15:46 +0000 Subject: [PATCH] kvm-userspace: add ibm archs to unifdef header Message-Id: <0c2491cd5be222ddc0ff.1225732546@HelionPrime> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 --- [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