Commit e67ce59
committed
linux-gen: time: remove memory clobber from aarch64 cntvct_el0 read
Remove unnecessary compiler memory barrier from aarch64 cntvct_el0 read in
_odp_time_cpu_global() function, which is used to implement non-strict
odp_cpu_cycles(), odp_time_local(), and odp_time_global() API functions.
It's enough to have the memory clobber in _odp_time_cpu_global_strict(),
which is used to implement the strict functions variants.
Signed-off-by: Matias Elo <matias.elo@nokia.com>1 parent 7d1695e commit e67ce59
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments