LoongArch: Use SYM_CODE_* to annotate exception handlers
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 18 Oct 2023 00:42:52 +0000 (08:42 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 18 Oct 2023 00:42:52 +0000 (08:42 +0800)
commit00c2ca84c680f64b79b5e10a482ca435fd7d98ce
treec558ee6ab0f1c45f50fd155db22855844dcf535d
parent58720809f52779dc0f08e53e54b014209d13eebb
LoongArch: Use SYM_CODE_* to annotate exception handlers

As described in include/linux/linkage.h,

  FUNC -- C-like functions (proper stack frame etc.)
  CODE -- non-C code (e.g. irq handlers with different, special stack etc.)

  SYM_FUNC_{START, END} -- use for global functions
  SYM_CODE_{START, END} -- use for non-C (special) functions

So use SYM_CODE_* to annotate exception handlers.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/linkage.h
arch/loongarch/kernel/entry.S
arch/loongarch/kernel/genex.S
arch/loongarch/mm/tlbex.S