riscv: compat: Add COMPAT Kbuild skeletal support
authorGuo Ren <guoren@linux.alibaba.com>
Tue, 5 Apr 2022 07:13:14 +0000 (15:13 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 17 May 2022 23:37:23 +0000 (16:37 -0700)
commit9be8459298eadb39b9fe9974b890239e9c123107
tree5fc42e6ce8dcc62f02f5e83b0c5f155515ebfa6e
parent4608c159594fb40a5101357d4f614fdde9ce1fdb
riscv: compat: Add COMPAT Kbuild skeletal support

Adds initial skeletal COMPAT Kbuild (Running 32bit U-mode on
64bit S-mode) support.
 - Setup kconfig & dummy functions for compiling.
 - Implement compat_start_thread by the way.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220405071314.3225832-21-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig