diff options
author | Julien Grall <julien.grall@linaro.org> | 2015-05-06 14:09:06 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-05-28 12:23:10 +0100 |
commit | 81e863c3a28e69fd60411bde9f779b0f8ad0212a (patch) | |
tree | 02516881b40ace1d990621faf2c3b10d68993c27 /arch/arm/kernel/setup.c | |
parent | ba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff) | |
download | linux-rt-81e863c3a28e69fd60411bde9f779b0f8ad0212a.tar.gz |
arm/xen: Correctly check if the event channel interrupt is present
The function irq_of_parse_and_map returns 0 when the IRQ is not found.
Futhermore, move the check before notifying the user that we are running on
Xen.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'arch/arm/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions