mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-16 07:04:36 +01:00
This moves the declarations for the architecture helpers into include/linux/htirq.h from the generic include/linux/pci.h. Hopefully this will make this distinction clearer. htirq.h is included where it is needed. The dependency on the msi code is fixed and removed. The Makefile is tidied up. Signed-off-by: Eric W. Biederman <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Tony Luck <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Greg KH <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
16 lines
466 B
C
16 lines
466 B
C
#ifndef LINUX_HTIRQ_H
|
|
#define LINUX_HTIRQ_H
|
|
|
|
/* Helper functions.. */
|
|
void write_ht_irq_low(unsigned int irq, u32 data);
|
|
void write_ht_irq_high(unsigned int irq, u32 data);
|
|
u32 read_ht_irq_low(unsigned int irq);
|
|
u32 read_ht_irq_high(unsigned int irq);
|
|
void mask_ht_irq(unsigned int irq);
|
|
void unmask_ht_irq(unsigned int irq);
|
|
|
|
/* The arch hook for getting things started */
|
|
int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
|
|
|
|
#endif /* LINUX_HTIRQ_H */
|