diff --git a/kernel.spec b/kernel.spec index bc6c4222a..cfa4a2959 100644 --- a/kernel.spec +++ b/kernel.spec @@ -615,6 +615,8 @@ Patch503: CVE-2019-3701.patch # https://patchwork.kernel.org/patch/10752253/ Patch504: efi-use-32-bit-alignment-for-efi_guid_t.patch +Patch510: riscv-arm-fix.patch + # END OF PATCH DEFINITIONS %endif diff --git a/riscv-arm-fix.patch b/riscv-arm-fix.patch new file mode 100644 index 000000000..53832ee64 --- /dev/null +++ b/riscv-arm-fix.patch @@ -0,0 +1,25 @@ +From 7b8dfd22b3879a857d6bfb5ed2d4b232e8543b0a Mon Sep 17 00:00:00 2001 +From: Fedora Kernel Team +Date: Tue, 15 Jan 2019 02:19:44 +0000 +Subject: [PATCH] riscv arm fix + +--- + drivers/clocksource/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig +index 8dfd3bc..1605825 100644 +--- a/drivers/clocksource/Kconfig ++++ b/drivers/clocksource/Kconfig +@@ -379,7 +379,7 @@ config ARM_GLOBAL_TIMER + + config ARM_TIMER_SP804 + bool "Support for Dual Timer SP804 module" +- depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP ++ depends on (ARM || ARM64) && GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP + select CLKSRC_MMIO + select TIMER_OF if OF + +-- +2.17.1 +