diff options
author | Ard Biesheuvel | 2016-08-31 13:05:12 +0200 |
---|---|---|
committer | Will Deacon | 2016-09-02 12:21:15 +0200 |
commit | 23c8a500c24d02dd2de1bff968d4467b441717bb (patch) | |
tree | cd9c8c84ff541c789128870d75d26ba38b70dd18 /arch/sparc | |
parent | arm64: kernel: fix style issues in sleep.S (diff) | |
download | kernel-qcow2-linux-23c8a500c24d02dd2de1bff968d4467b441717bb.tar.gz kernel-qcow2-linux-23c8a500c24d02dd2de1bff968d4467b441717bb.tar.xz kernel-qcow2-linux-23c8a500c24d02dd2de1bff968d4467b441717bb.zip |
arm64: kernel: use ordinary return/argument register for el2_setup()
The function el2_setup() passes its return value in register w20, and
in the two cases where the caller actually cares about this return value,
it is passed into set_cpu_boot_mode_flag() [almost] directly, which
expects its input in w20 as well.
So there is no reason to use a 'special' callee saved register here, but
we can simply follow the PCS for return value and first argument,
respectively.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions