xen/arm: Rework secondary_start prototype
authorJulien Grall <julien.grall@arm.com>
Thu, 11 Apr 2019 20:28:50 +0000 (21:28 +0100)
committerJulien Grall <julien.grall@arm.com>
Mon, 10 Jun 2019 13:07:09 +0000 (14:07 +0100)
commitc38a6cfc3b65e4d50f7c5efb4bc83eec120ff0d7
treeb2fa27d2d096991f15e288b1f9800ada4a5bd6f8
parent99ecdc714c8f7117f7f2df4eefdfd2446668619d
xen/arm: Rework secondary_start prototype

None of the parameters of secondary_start are actually used. So turn
secondary_start to a function with no parameters.

Also modify the assembly code to avoid setting-up the registers before
calling start_secondary.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Andrii Anisov <andrii.anisov@epam.com>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S
xen/arch/arm/smpboot.c