]> git.proxmox.com Git - qemu.git/commitdiff
target-s390x: Fix build for non-linux hosts
authorStefan Weil <weil@mail.berlios.de>
Tue, 24 May 2011 17:42:51 +0000 (19:42 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 3 Jun 2011 11:34:01 +0000 (13:34 +0200)
linux/kvm.h is not always available for compilation.

Neither linux/kvm.h nor kvm.h are needed, so remove both
which also fixes the build problem for non-linux hosts.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/helper.c

index c79af46693fd811205a1b1a1583d3cce6c34f467..745d8c52bb52f157b7abb0c090d7b72dbe7c2c83 100644 (file)
 #include "qemu-common.h"
 #include "qemu-timer.h"
 
-#if !defined(CONFIG_USER_ONLY)
-#include <linux/kvm.h>
-#include "kvm.h"
-#endif
-
 //#define DEBUG_S390
 //#define DEBUG_S390_PTE
 //#define DEBUG_S390_STDOUT