linux/arch/loongarch/include/asm
Jason A. Donenfeld 5c95fe8b02 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/e78940bc-9be2-2fe7-026f-9e64a1416c9f@xen0n.name/
Fixes: b738c106f7 ("LoongArch: Add other common headers")
Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2022-06-08 11:00:40 +08:00
..
vdso LoongArch: Add VDSO and VSYSCALL support 2022-06-03 20:09:28 +08:00
Kbuild
acenv.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
acpi.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
addrspace.h
asm-offsets.h LoongArch: Add misc common routines 2022-06-03 20:09:28 +08:00
asm-prototypes.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
asm.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
asmmacro.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
atomic.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
barrier.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
bitops.h LoongArch: Add atomic/locking headers 2022-06-03 20:09:28 +08:00
bitrev.h LoongArch: Add atomic/locking headers 2022-06-03 20:09:28 +08:00
bootinfo.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
branch.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
bug.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
cache.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
cacheflush.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
cacheops.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
clocksource.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
cmpxchg.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
compiler.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
cpu-features.h
cpu-info.h
cpu.h
cpufeature.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
delay.h LoongArch: Add some library functions 2022-06-03 20:09:28 +08:00
dma-direct.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
dmi.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
efi.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
elf.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
entry-common.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
exec.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
fb.h LoongArch: Add misc common routines 2022-06-03 20:09:28 +08:00
fixmap.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
fpregdef.h
fpu.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
futex.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
hardirq.h LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
hugetlb.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
hw_irq.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
idle.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
inst.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
io.h LoongArch: Add misc common routines 2022-06-03 20:09:28 +08:00
irq.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
irq_regs.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
irqflags.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
kdebug.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
linkage.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
local.h LoongArch: Add atomic/locking headers 2022-06-03 20:09:28 +08:00
loongarch.h
loongson.h
mmu.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
mmu_context.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
mmzone.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
module.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
module.lds.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
numa.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
page.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
percpu.h LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
perf_event.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
pgalloc.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
pgtable-bits.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
pgtable.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
prefetch.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
processor.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
ptrace.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
reboot.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
regdef.h
seccomp.h LoongArch: Add system call support 2022-06-03 20:09:28 +08:00
serial.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
setup.h LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
shmparam.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
smp.h LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
sparsemem.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
stackframe.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
stacktrace.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
string.h LoongArch: Add some library functions 2022-06-03 20:09:28 +08:00
switch_to.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
syscall.h LoongArch: Add system call support 2022-06-03 20:09:28 +08:00
thread_info.h LoongArch: Add process management 2022-06-03 20:09:28 +08:00
time.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
timex.h LoongArch: Remove MIPS comment about cycle counter 2022-06-08 11:00:40 +08:00
tlb.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00
tlbflush.h LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
topology.h LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
types.h LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
uaccess.h LoongArch: Add system call support 2022-06-03 20:09:28 +08:00
unistd.h LoongArch: Add system call support 2022-06-03 20:09:28 +08:00
vdso.h LoongArch: Add VDSO and VSYSCALL support 2022-06-03 20:09:28 +08:00
vermagic.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
vmalloc.h LoongArch: Add memory management 2022-06-03 20:09:28 +08:00