[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.