RISC-V: Define sys_riscv_flush_icache when SMP=n
authorPalmer Dabbelt <palmer@sifive.com>
Thu, 9 Aug 2018 19:53:57 +0000 (12:53 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 20 Aug 2018 17:55:24 +0000 (10:55 -0700)
commit7847e7052fc37fff9761347411f2838849e2146d
tree991981bedd918d060c07d2621e22de557cd79de0
parent1009aa1205c2c5e9101437dcadfa195708d863bf
RISC-V: Define sys_riscv_flush_icache when SMP=n

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.

CC: Christoph Hellwig <hch@infradead.org>
CC: Guenter Roeck <linux@roeck-us.net>
In-Reply-To: <20180809055830.GA17533@infradead.org>
In-Reply-To: <20180809132612.GA31058@roeck-us.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/vdso.h
arch/riscv/kernel/sys_riscv.c