diff options
author | Scott Wood <oss@buserror.net> | 2016-09-22 11:35:18 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-23 19:19:25 +0300 |
commit | 1d8f51d41fc7116f3753fe9f9a5dd93e0b550a2c (patch) | |
tree | abbb60533f4f4de2f8b543241a8c7bb1913a2dab /arch/arm64/include/asm/clocksource.h | |
parent | f6dc1576cd517440313c9551b6ffa3d7e389c7c7 (diff) | |
download | linux-1d8f51d41fc7116f3753fe9f9a5dd93e0b550a2c.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/clocksource.h')
-rw-r--r-- | arch/arm64/include/asm/clocksource.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/clocksource.h b/arch/arm64/include/asm/clocksource.h new file mode 100644 index 000000000000..0b350a7e26f3 --- /dev/null +++ b/arch/arm64/include/asm/clocksource.h @@ -0,0 +1,8 @@ +#ifndef _ASM_CLOCKSOURCE_H +#define _ASM_CLOCKSOURCE_H + +struct arch_clocksource_data { + bool vdso_direct; /* Usable for direct VDSO access? */ +}; + +#endif |