mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 00:45:13 +07:00
1d8f51d41f
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>
9 lines
153 B
C
9 lines
153 B
C
#ifndef _ASM_CLOCKSOURCE_H
|
|
#define _ASM_CLOCKSOURCE_H
|
|
|
|
struct arch_clocksource_data {
|
|
bool vdso_direct; /* Usable for direct VDSO access? */
|
|
};
|
|
|
|
#endif
|