]> www.infradead.org Git - users/jedix/linux-maple.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)
committerElena Ufimtseva <elena.ufimtseva@oracle.com>
Wed, 12 Aug 2015 10:05:48 +0000 (06:05 -0400)
commitc73caa30a8dc037c7968a64bab259876526fe7f2
treeb04a88434768422855f1aa5c3bbce0a4e5f2f78c
parent152426e1f8e637da70083cf282f6c26ff1320afc
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>
(cherry picked from commit 81e863c3a28e69fd60411bde9f779b0f8ad0212a)
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
arch/arm/xen/enlighten.c