OSDN Git Service

LoongArch: Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs
authorYouling Tang <tangyouling@loongson.cn>
Sat, 25 Feb 2023 07:52:56 +0000 (15:52 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Feb 2023 14:12:16 +0000 (22:12 +0800)
commit8cbd5ebfe241699288cb152081854414f6265718
treebf26d6bcc1c3f9b364f474b65b0399c09514658b
parentf733f119e9b31088063652a7ad16963d85cb73dd
LoongArch: Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs

Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs directly.
This is a preparation for subsequent patches.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/stackframe.h
arch/loongarch/kernel/head.S
arch/loongarch/power/suspend_asm.S