riscv: mm: stub extable related functions/macros for !MMU

extable relies on the MMU to work properly, so it's useless to
include __ex_table sections and build extable related functions for
!MMU case.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20230509152641.805-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Jisheng Zhang 2023-05-09 23:26:41 +08:00 • committed by Palmer Dabbelt
commit de658bcf03
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 11 additions and 2 deletions