]> git.ipfire.org Git - thirdparty/linux.git/commit
LoongArch: Remove redundant code in head.S
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 15 Jan 2026 10:50:48 +0000 (18:50 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 15 Jan 2026 10:50:48 +0000 (18:50 +0800)
commit0d26ca8ec461c01f682402f73a89643f4fefbbb3
tree722c9a0803337928d40473a2fcd37f4d962ea3da
parent0f61b1860cc3f52aef9036d7235ed1f017632193
LoongArch: Remove redundant code in head.S

SETUP_MODES already setup the initial values of CSR.CRMD, CSR.PRMD and
CSR.EUEN, so the redundant open code can be removed.

Fixes: 7b2afeafaf9c2d5 ("LoongArch: Adjust boot & setup for 32BIT/64BIT")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/head.S