arm64: Rename cpu_read_ops() to init_cpu_ops()
authorGavin Shan <gshan@redhat.com>
Wed, 18 Mar 2020 23:01:43 +0000 (10:01 +1100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 24 Mar 2020 17:24:13 +0000 (17:24 +0000)
commit6885fb129be30c627eb2f5b1498dba498ff6c037
tree4ca91677cae07feac873a0ca48084938fa77b9db
parent7fec52bf8095a95d7f698e9a165d4cace514a204
arm64: Rename cpu_read_ops() to init_cpu_ops()

This renames cpu_read_ops() to init_cpu_ops() as the function is only
called in initialization phase. Also, we will introduce get_cpu_ops() in
the subsequent patches, to retireve the CPU operation by the given CPU
index. The usage of cpu_read_ops() and get_cpu_ops() are difficult to be
distinguished from their names.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpu_ops.h
arch/arm64/kernel/cpu_ops.c
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c