kernel/riscv-arm-fix.patch
David Abdurachmanov 512dd80333
Fix ARM_TIMER_SP804 on RISC-V
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-09 20:51:43 +01:00

27 lines
870 B
Diff

From 3bc4911854e30f191164d3e39e5dcc69847435a2 Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
Date: Sat, 9 Mar 2019 19:48:06 +0000
Subject: [PATCH] riscv arm fix
Signed-off-by: Fedora Kernel Team <kernel-team@fedoraproject.org>
---
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 171502a..ede5d20 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -379,7 +379,7 @@ config ARM_GLOBAL_TIMER
This options enables support for the ARM global timer unit
config ARM_TIMER_SP804
- bool "Support for Dual Timer SP804 module"
+ bool "Support for Dual Timer SP804 module" if COMPILE_TEST
depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
select CLKSRC_MMIO
select TIMER_OF if OF
--
2.21.0.rc1