ACPI / PNP: Reserve ACPI resources at the fs_initcall_sync stage
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / irqnr.h
index 3bc4dcab6e828a16b6113c1aa1f3de08bb062c46..0a2dc46cdaf6e7070dc602fcde64a23c72553361 100644 (file)
@@ -1,10 +1,8 @@
 #ifndef _LINUX_IRQNR_H
 #define _LINUX_IRQNR_H
 
-/*
- * Generic irq_desc iterators:
- */
-#ifdef __KERNEL__
+#include <uapi/linux/irqnr.h>
+
 
 #ifndef CONFIG_GENERIC_HARDIRQS
 #include <asm/irq.h>
@@ -57,6 +55,4 @@ unsigned int irq_get_next_irq(unsigned int offset);
 #define for_each_irq_nr(irq)                   \
        for (irq = 0; irq < nr_irqs; irq++)
 
-#endif /* __KERNEL__ */
-
 #endif