Fix ARM_TIMER_SP804 on RISC-V
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
da577e4814
commit
512dd80333
@ -613,6 +613,8 @@ Patch510: i915-enable-fastboot-on-vlv-chv.patch
|
||||
# rhbz 1686419
|
||||
Patch511: 0001-Fix-from-Arnd-for-compilation-error.patch
|
||||
|
||||
Patch550: riscv-arm-fix.patch
|
||||
|
||||
# END OF PATCH DEFINITIONS
|
||||
|
||||
%endif
|
||||
|
@ -1,25 +1,26 @@
|
||||
From 7b8dfd22b3879a857d6bfb5ed2d4b232e8543b0a Mon Sep 17 00:00:00 2001
|
||||
From 3bc4911854e30f191164d3e39e5dcc69847435a2 Mon Sep 17 00:00:00 2001
|
||||
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
|
||||
Date: Tue, 15 Jan 2019 02:19:44 +0000
|
||||
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 8dfd3bc..1605825 100644
|
||||
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"
|
||||
- depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
|
||||
+ depends on (ARM || ARM64) && GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
|
||||
- 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.17.1
|
||||
2.21.0.rc1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user