Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n
From: Christoph Hellwig
Date: Fri Aug 10 2018 - 04:38:19 EST
On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote:
> This would be necessary to make non-SMP builds work, but there is
> another error in the implementation of our syscall linkage that actually
> just causes sys_riscv_flush_icache to never build. I've build tested
> this on allnoconfig and allnoconfig+SMP=y, as well as defconfig like
> normal.
Would't it make sense to use COND_SYSCALL to stub out the syscall
for !SMP builds?