From d2e201b4297d71d8c1e9085487eb9e1a4ae90bdd Mon Sep 17 00:00:00 2001 From: dp-arm Date: Thu, 8 Sep 2016 11:51:49 +0100 Subject: [PATCH] Rename `pmf_calc_timestamp_offset` to `pmf_calc_timestamp_addr` The macro calculates an absolute address rather than an offset so rename it to avoid confusion. Change-Id: I351f73dfd809fd28c0c30d38928caf5c5cd1af04 --- include/lib/pmf/pmf_asm_macros.S | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/lib/pmf/pmf_asm_macros.S b/include/lib/pmf/pmf_asm_macros.S index 42dcd7940..be7338b0c 100644 --- a/include/lib/pmf/pmf_asm_macros.S +++ b/include/lib/pmf/pmf_asm_macros.S @@ -34,12 +34,11 @@ #define PMF_TS_SIZE 8 /* - * This macro calculates the offset into the memory - * region where the per-cpu timestamp value is stored - * for the given service name and timestamp id. + * This macro calculates the address of the per-cpu timestamp + * for the given service name and local timestamp id. * Clobbers: x0 - x9 */ - .macro pmf_calc_timestamp_offset _name _tid + .macro pmf_calc_timestamp_addr _name _tid mov x9, x30 bl plat_my_core_pos mov x30, x9