android_kernel_xiaomi_sm8350/arch/arm/mach-vexpress/core.h
Russell King 4fb68e12f2 ARM: vexpress/realview: consolidate immitation CPU hotplug
The only difference between the hotplug implementation for Realview
and Versatile Express are the bit in the auxiliary control register
to disable coherency.  Combine the two implentations accounting for
that difference.

Rename the functions to try to discourage cargo-cult copying of this
code.

Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2018-12-14 14:44:59 +00:00

4 lines
91 B
C

bool vexpress_smp_init_ops(void);
extern const struct smp_operations vexpress_smp_dt_ops;