Re: [PATCH 5/7] RISC-V: arch/riscv/lib

From: Palmer Dabbelt
Date: Tue May 23 2017 - 18:08:03 EST


On Tue, 23 May 2017 03:47:34 PDT (-0700), geert@xxxxxxxxxxxxxx wrote:
> Hi Palmer,
>
> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt <palmer@xxxxxxxxxxx> wrote:
>> arch/riscv/lib/Makefile | 5 ++
>> arch/riscv/lib/ashldi3.c | 42 ++++++++++++++++
>
> At least this one has already two identical copies in arch/score/lib/ashldi3.c
> and arch/sh/lib/ashldi3.c. Probably these should be moved to lib/, and built
> depending on a new config symbol that is selected on score, sh, and riscv.
>
> Didn't check the others.

Thanks. It looks like there's actually a lot of these on many architectures.
I have another patch set to correct all of these that you're To'd on, I'll just
pick up the first patch in the set for v2

https://lkml.org/lkml/2017/5/23/1280