mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-10 16:10:54 +00:00
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:
committed by
Ross Burton
parent
738c20d752
commit
c1123c3d63
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user