aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-06-05 16:20:08 +0800
committerHuacai Chen <[email protected]>2022-06-08 11:00:40 +0800
commit5c95fe8b02011c3b69173e0d86aff6d4c2798601 (patch)
tree74bf90d2e500d7513d1cc6f228463808aede9c18 /lib/test-string_helpers.c
parent0626e1c9f3e5536545431538d12c762d5abf59c8 (diff)
LoongArch: Remove MIPS comment about cycle counter
This comment block was taken originally from the MIPS architecture code, where indeed there are particular assumptions one can make regarding SMP and !SMP and cycle counters. On LoongArch, however, the rdtime family of functions is always available. As Xuerui wrote: The rdtime family of instructions is in fact guaranteed to be available on LoongArch; LoongArch's subsets all contain them, even the 32-bit "Primary" subset intended for university teaching -- they provide the rdtimeh.w and rdtimel.w pair of instructions that access the same 64-bit counter. So this commit simply removes the incorrect comment block. Link: https://lore.kernel.org/lkml/[email protected]/ Fixes: b738c106f735 ("LoongArch: Add other common headers") Reviewed-by: WANG Xuerui <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions