]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: arch_timer: Use archdata to indicate vdso suitability
authorScott Wood <oss@buserror.net>
Thu, 22 Sep 2016 08:35:18 +0000 (03:35 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 23 Sep 2016 16:19:25 +0000 (17:19 +0100)
commit41910f22fd3f267fb133054fabb668c59c8c1071
treeabbb60533f4f4de2f8b543241a8c7bb1913a2dab
parent9ffa5c9ac36a5ebc9c31050f37b793d5ede0867c
arm/arm64: arch_timer: Use archdata to indicate vdso suitability

Instead of comparing the name to a magic string, use archdata to
explicitly communicate whether the arch timer is suitable for
direct vdso access.

Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/Kconfig
arch/arm/include/asm/clocksource.h [new file with mode: 0644]
arch/arm/kernel/vdso.c
arch/arm64/Kconfig
arch/arm64/include/asm/clocksource.h [new file with mode: 0644]
arch/arm64/kernel/vdso.c
drivers/clocksource/arm_arch_timer.c