]> git.baikalelectronics.ru Git - kernel.git/commit
arm/xen: Correctly check if the event channel interrupt is present
authorJulien Grall <julien.grall@linaro.org>
Wed, 6 May 2015 14:09:06 +0000 (14:09 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 28 May 2015 11:23:10 +0000 (12:23 +0100)
commit1a70f94b7532acf818afc5ade3567c359be6394c
tree02516881b40ace1d990621faf2c3b10d68993c27
parenta76c242610dba259428276f7f2572730e8431bae
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>
arch/arm/xen/enlighten.c