X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Firq.h;h=6c5d4c898ccb2bb5f54ec9f07a704eda70cb68f2;hb=ed03f430cdc8c802652467e9097606fedc2c7abc;hp=c516382fbec2fa5fb5871937ba0bab6de48d4dfd;hpb=3b621ee5df437d3f332a635ab6421aaa61a7dc2b;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/irq.h b/include/linux/irq.h index c516382fbec..6c5d4c898cc 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -10,9 +10,9 @@ */ #include -#include /* cpu_online_map */ +#include -#if !defined(CONFIG_ARCH_S390) +#if !defined(CONFIG_S390) #include #include @@ -221,6 +221,17 @@ extern void note_interrupt(unsigned int irq, irq_desc_t *desc, extern int can_request_irq(unsigned int irq, unsigned long irqflags); extern void init_irq_proc(void); + +#ifdef CONFIG_AUTO_IRQ_AFFINITY +extern int select_smp_affinity(unsigned int irq); +#else +static inline int +select_smp_affinity(unsigned int irq) +{ + return 1; +} +#endif + #endif extern hw_irq_controller no_irq_type; /* needed in every arch ? */