WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix build when CONFIG_HPET_TIMER=n

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix build when CONFIG_HPET_TIMER=n
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Wed, 25 Nov 2009 14:42:33 +0000
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>, Wei Gang <gang.wei@xxxxxxxxx>
Delivery-date: Wed, 25 Nov 2009 06:43:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Broken by
commit b2a93181340b2efd58f16a2d7303f6f45591bca0
Author: Wei Gang <gang.wei@xxxxxxxxx>
Date:   Sun Oct 18 17:39:04 2009 +0900

    x86/hpet: allow hpet to be programmatically disabled

  CC      arch/x86/xen/setup.o
In file included from arch/x86/xen/setup.c:14:
arch/x86/include/asm/hpet.h: In function 'disable_hpet':
arch/x86/include/asm/hpet.h:111: error: parameter name omitted
make[3]: *** [arch/x86/xen/setup.o] Error 1
make[2]: *** [arch/x86/xen] Error 2
make[2]: *** Waiting for unfinished jobs....

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Wei Gang <gang.wei@xxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
---
 arch/x86/include/asm/hpet.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/hpet.h b/arch/x86/include/asm/hpet.h
index be24e01..d5e7219 100644
--- a/arch/x86/include/asm/hpet.h
+++ b/arch/x86/include/asm/hpet.h
@@ -108,7 +108,7 @@ extern void hpet_unregister_irq_handler(rtc_irq_handler 
handler);
 #else /* CONFIG_HPET_TIMER */
 
 static inline int hpet_enable(void) { return 0; }
-static inline int disable_hpet(char *) { return 0; }
+static inline int disable_hpet(char *reason) { return 0; }
 static inline int is_hpet_enabled(void) { return 0; }
 #define hpet_readl(a) 0
 
-- 
1.5.6.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix build when CONFIG_HPET_TIMER=n, Ian Campbell <=