arm-autonomy/linux-arm-autonomy: Do not apply xen IRQ patch for 5.12+ kernels

As the xen event channel kernel patch is mainlined in 5.12, this patch ensures
it is only applied to the applicable versions earlier than 5.12.

Signed-off-by: Richard Neill <richard.neill@arm.com>
Change-Id: I03a3dc51281fdc94cd7e9a9da2540b34668a6ad1
This commit is contained in:
Richard Neill authored and Ross Burton committed 2021-04-16 10:34:51 +01:00
1 parent 738c20d752
commit c1123c3d63
1 file changed
+1 -1
@@ -44,7 +44,7 @@ python() {
and oe.utils.any_distro_features(d, "arm-autonomy-host arm-autonomy-guest"):
if LooseVersion(kernelVersion) < '5.9':
d.appendVar('SRC_URI', ' file://files/0001-arm-arm64-xen-Fix-to-convert-percpu-address-to-gfn-c.patch' )
if LooseVersion(kernelVersion) >= '5.10':
if '5.10' <= LooseVersion(kernelVersion) < '5.12':
d.appendVar('SRC_URI', ' file://files/0001-xen-evtchn-Change-irq_info-lock-to-raw_spinlock_t.patch' )
if kernelVersion and LooseVersion(kernelVersion) < '5.10':