From: Linus Torvalds Date: Sat, 13 Jul 2013 22:37:30 +0000 (-0700) Subject: Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=505608d2b9f3ab9e3ea0fd1b89b1cc560b91a7b5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'irq-urgent-for-linus' of git://git./linux/kernel/git/tip/tip Pull irq updates from Thomas Gleixner: - core fix for missing round up in the generic irq chip implementation - new irq chip for MOXA SoCs - a few fixes and cleanups in the irqchip drivers * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqchip: Add support for MOXA ART SoCs genirq: generic chip: Use DIV_ROUND_UP to calculate numchips irqchip: nvic: Fix wrong num_ct argument for irq_alloc_domain_generic_chips() irqchip: sun4i: Staticize sun4i_irq_ack() irqchip: vt8500: Staticize local symbols --- 505608d2b9f3ab9e3ea0fd1b89b1cc560b91a7b5 diff --cc kernel/irq/generic-chip.c index 10e663ab1f4a,2f274f30b7e2..452d6f2ba21d --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c @@@ -275,7 -275,10 +275,7 @@@ int irq_alloc_domain_generic_chips(stru if (d->gc) return -EBUSY; - numchips = d->revmap_size / irqs_per_chip; - if (d->revmap_type != IRQ_DOMAIN_MAP_LINEAR) - return -EINVAL; - - numchips = DIV_ROUND_UP(d->revmap_data.linear.size, irqs_per_chip); ++ numchips = DIV_ROUND_UP(d->revmap_size, irqs_per_chip); if (!numchips) return -EINVAL;