projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux...
[deliverable/linux.git]
/
kernel
/
irq
/
generic-chip.c
diff --git
a/kernel/irq/generic-chip.c
b/kernel/irq/generic-chip.c
index 10e663ab1f4aa0c88bc120660d824e50c099f9a2..452d6f2ba21d9ae0b2b6cd1a966721b325ec9e23 100644
(file)
--- a/
kernel/irq/generic-chip.c
+++ b/
kernel/irq/generic-chip.c
@@
-275,7
+275,7
@@
int irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip,
if (d->gc)
return -EBUSY;
- numchips =
d->revmap_size / irqs_per_chip
;
+ numchips =
DIV_ROUND_UP(d->revmap_size, irqs_per_chip)
;
if (!numchips)
return -EINVAL;
This page took
0.025067 seconds
and
5
git commands to generate.