diff options
author | 2012-10-16 18:50:00 +0100 | |
---|---|---|
committer | 2012-10-18 11:11:16 +0100 | |
commit | 07c9249f1fa90cc8189bed44c0bcece664596a72 (patch) | |
tree | c769265892c802ff94c350b913ecb78d73786c80 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-dev-07c9249f1fa90cc8189bed44c0bcece664596a72.tar.xz linux-dev-07c9249f1fa90cc8189bed44c0bcece664596a72.zip |
ARM: 7554/1: VIC: use irq_domain_add_simple()
Instead of allocating descriptors on-the-fly for the device tree
initialization case, use irq_domain_add_simple() which will take
care of this if you pass negative as the first_irq.
Alter the signature of __vic_init() to pass the first_irq as
signed so this works as expected.
Switching the VIC to use irq_domain_add_simple() also has the
upside of displaying the same WARNING when you boot with
pre-allocated descriptors on systems using SPARSE_IRQ but
yet not using device tree.
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions