summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/switch.S
diff options
context:
space:
mode:
authorWANG Xuerui <git@xen0n.name>2022-07-26 18:57:22 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2022-07-29 13:22:32 +0300
commitf5c3c22f21b6a002e371afdcc9180a2fa47dc267 (patch)
tree410717336fcfa47fed29fe3ecc50ea78d8f0e067 /arch/loongarch/kernel/switch.S
parent1fdb9a92495a6b6996530d27781892796e22f08b (diff)
downloadlinux-f5c3c22f21b6a002e371afdcc9180a2fa47dc267.tar.xz
LoongArch: Re-tab the assembly files
Reflow the *.S files for better stylistic consistency, namely hard tabs after mnemonic position, and vertical alignment of the first operand with hard tabs. Tab width is obviously 8. Some pre-existing intra-block vertical alignments are preserved. Signed-off-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/switch.S')
-rw-r--r--arch/loongarch/kernel/switch.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/loongarch/kernel/switch.S b/arch/loongarch/kernel/switch.S
index 53e2fa8e580e..37e84ac8ffc2 100644
--- a/arch/loongarch/kernel/switch.S
+++ b/arch/loongarch/kernel/switch.S
@@ -24,8 +24,8 @@ SYM_FUNC_START(__switch_to)
move tp, a2
cpu_restore_nonscratch a1
- li.w t0, _THREAD_SIZE - 32
- PTR_ADD t0, t0, tp
+ li.w t0, _THREAD_SIZE - 32
+ PTR_ADD t0, t0, tp
set_saved_sp t0, t1, t2
ldptr.d t1, a1, THREAD_CSRPRMD