]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: Use SYM_CODE_* to annotate exception handlers
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 18 Oct 2023 00:42:52 +0000 (08:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:09:01 +0000 (14:09 +0100)
commit74f9c03ecf795d08c4e03fdfe0126d3b8c35ecf0
treeb6d71fe289233b005728f759323b62a034e4a48a
parent19fe554e5fcf89ed5b2b1769fd078066df13c958
LoongArch: Use SYM_CODE_* to annotate exception handlers

[ Upstream commit 00c2ca84c680f64b79b5e10a482ca435fd7d98ce ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/loongarch/include/asm/linkage.h
arch/loongarch/kernel/entry.S
arch/loongarch/kernel/genex.S
arch/loongarch/mm/tlbex.S