]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/include/asm/hpet.h
x86: arch specific support for remapping HPET MSIs
[net-next-2.6.git] / arch / x86 / include / asm / hpet.h
index 65847c578b7065f9b2a8b742f649979e7c8e5d30..5d89fd2a3690664e5dc205b915e2ddf65f97b231 100644 (file)
@@ -65,6 +65,7 @@
 /* hpet memory map physical address */
 extern unsigned long hpet_address;
 extern unsigned long force_hpet_address;
+extern u8 hpet_blockid;
 extern int hpet_force_user;
 extern int is_hpet_enabled(void);
 extern int hpet_enable(void);
@@ -78,9 +79,9 @@ extern void hpet_msi_write(unsigned int irq, struct msi_msg *msg);
 extern void hpet_msi_read(unsigned int irq, struct msi_msg *msg);
 
 #ifdef CONFIG_PCI_MSI
-extern int arch_setup_hpet_msi(unsigned int irq);
+extern int arch_setup_hpet_msi(unsigned int irq, unsigned int id);
 #else
-static inline int arch_setup_hpet_msi(unsigned int irq)
+static inline int arch_setup_hpet_msi(unsigned int irq, unsigned int id)
 {
        return -EINVAL;
 }