]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
LoongArch: Move {signed,unsigned}_imm_check() to inst.h
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 12 Oct 2022 08:36:19 +0000 (16:36 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 12 Oct 2022 08:36:19 +0000 (16:36 +0800)
commit8a34228eb30308f6e223c6f2b87e2381d45056e2
tree2fbdbf2a1f1287dfb19f3c8ebbe66bdb134ad57c
parent4e62d1d86585e1b62b4f96ee586881dd45a443dc
LoongArch: Move {signed,unsigned}_imm_check() to inst.h

{signed,unsigned}_imm_check() will also be used in the bpf jit, so move
them from module.c to inst.h, this is preparation for later patches.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/inst.h
arch/loongarch/kernel/module.c