]> git.baikalelectronics.ru Git - kernel.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)
commitdce41e9e5cc6dad64ea3270946561fac96c66007
tree2fbdbf2a1f1287dfb19f3c8ebbe66bdb134ad57c
parenta919863406e2eae0cb79ae1290b6336f9ff85803
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