This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 09a7800c4c4a093fb962e362952f9cf562d2fc98 (commit) from ddf2ac38b1288283f7b3d7c9e16e36f392685866 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 09a7800c4c4a093fb962e362952f9cf562d2fc98 Author: Petri Savolainen petri.savolainen@linaro.org Date: Thu Jun 22 12:17:13 2017 +0300
linux-gen: time: fix ARM compile for GCC 4.8
Use __aarch64__ instead of __ARM_ARCH, since it's backwards compatible between GCC versions.
Fixes bug https://bugs.linaro.org/show_bug.cgi?id=3066
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-by: Brian Brooks brian.brooks@arm.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/arch/arm/odp_cpu_arch.c b/platform/linux-generic/arch/arm/odp_cpu_arch.c index 91d439d9..28ee508b 100644 --- a/platform/linux-generic/arch/arm/odp_cpu_arch.c +++ b/platform/linux-generic/arch/arm/odp_cpu_arch.c @@ -68,7 +68,7 @@ int cpu_has_global_time(void)
uint64_t cpu_global_time(void) { -#if __ARM_ARCH == 8 +#ifdef __aarch64__ uint64_t cntvct;
/* @@ -88,7 +88,7 @@ uint64_t cpu_global_time(void)
uint64_t cpu_global_time_freq(void) { -#if __ARM_ARCH == 8 +#ifdef __aarch64__ uint64_t cntfrq;
__asm__ volatile("mrs %0, cntfrq_el0" : "=r"(cntfrq) : : );
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/arch/arm/odp_cpu_arch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive