Patchwork [7/7] Declare no_hpet variable for all targets

login
register
mail settings
Submitter Jes Sorensen
Date June 22, 2010, 12:56 p.m.
Message ID <1277211364-12451-8-git-send-email-Jes.Sorensen@redhat.com>
Download mbox | patch
Permalink /patch/56479/
State New
Headers show

Comments

Jes Sorensen - June 22, 2010, 12:56 p.m.
From: Jes Sorensen <Jes.Sorensen@redhat.com>

We need to declare 'int no_hpet' for all targets to avoid build
failure on no x86 builds.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 vl.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/vl.c b/vl.c
index 79f91d5..c2e99fc 100644
--- a/vl.c
+++ b/vl.c
@@ -207,9 +207,7 @@  int smp_cores = 1;
 int smp_threads = 1;
 const char *vnc_display;
 int acpi_enabled = 1;
-#ifdef TARGET_I386
 int no_hpet = 0;
-#endif
 int fd_bootchk = 1;
 int no_reboot = 0;
 int no_shutdown = 0;