]> 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)
commitbf3df892fc18a9482903ccfb254160563a36472c
tree2fbdbf2a1f1287dfb19f3c8ebbe66bdb134ad57c
parent9d58c1870d4853d476b0ac3ed2d29c9443f5581a
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