Skip to content

Commit

Permalink
[arch] Fix aarch64 build after PixarAnimationStudios@4d88d85
Browse files Browse the repository at this point in the history
  • Loading branch information
asluk committed Feb 15, 2022
1 parent a628e23 commit adf2240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/base/arch/timing.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ ArchGetStopTickTime()
return ArchGetTickTime();
#elif defined (ARCH_CPU_ARM)
std::atomic_signal_fence(std::memory_order_seq_cst);
asm volatile("mrs %0, cntvct_e l0" : "=r"(t));
asm volatile("mrs %0, cntvct_el0" : "=r"(t));
std::atomic_signal_fence(std::memory_order_seq_cst);
#elif defined (ARCH_COMPILER_MSVC)
std::atomic_signal_fence(std::memory_order_seq_cst);
Expand Down

0 comments on commit adf2240

Please sign in to comment.