]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Adjust common macro definitions for 32BIT/64BIT
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 6 Dec 2025 02:40:32 +0000 (10:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 6 Dec 2025 02:40:32 +0000 (10:40 +0800)
commit708ed32c84ccfa35a62da03a336f88c0df54ab52
tree980ad1af60a21bc458c5a4f4f3387e1ff46903ca
parent81f5d15c48c441a2dadd3c4132fb80d8404fe7af
LoongArch: Adjust common macro definitions for 32BIT/64BIT

Most common macros are defined in asm.h, asmmacro.h and stackframe.h.
Adjust these macros for both 32BIT and 64BIT.

Add SETUP_TWINS (Setup Trampoline Windows) and SETUP_MODES (Setup CRMD/
PRMD/EUEN) which will be used later.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/asm.h
arch/loongarch/include/asm/asmmacro.h
arch/loongarch/include/asm/stackframe.h