RISC-V: lib: Fix build error for 64-bit
authorOlof Johansson <olof@lixom.net>
Wed, 31 Oct 2018 06:47:07 +0000 (23:47 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 13 Nov 2018 02:09:55 +0000 (18:09 -0800)
commit85d90b91807bb0c4a0fcff6a144e73f11cda782a
tree9a8b240e4fbb600724b68d17fe19660e66c6094c
parentf157d411a9eb170d2ee6b766da7a381962017cc9
RISC-V: lib: Fix build error for 64-bit

Fixes the following build error from tinyconfig:

riscv64-unknown-linux-gnu-ld: kernel/sched/fair.o: in function `.L8':
fair.c:(.text+0x70): undefined reference to `__lshrti3'
riscv64-unknown-linux-gnu-ld: kernel/time/clocksource.o: in function `.L0 ':
clocksource.c:(.text+0x334): undefined reference to `__lshrti3'

Fixes: 7f47c73b355f ("RISC-V: Build tishift only on 64-bit")
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/lib/Makefile