From: andrea.parri@amarulasolutions.com (Andrea Parri) Date: Tue, 25 Sep 2018 19:49:06 +0200 Subject: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() In-Reply-To: References: <20180925121225.9917-2-andrea.parri@amarulasolutions.com> Message-ID: <20180925174906.GA4372@andrea> To: linux-riscv@lists.infradead.org List-Id: linux-riscv.lists.infradead.org On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote: > On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri at amarulasolutions.com wrote: > > The barriers are unused; remove their definition. > > > > Signed-off-by: Andrea Parri > > Cc: Palmer Dabbelt > > Cc: Albert Ou > > Cc: > > --- > > arch/riscv/include/asm/bitops.h | 5 ----- > > 1 file changed, 5 deletions(-) > > > > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h > > index f30daf26f08f4..01db98dfd0435 100644 > > --- a/arch/riscv/include/asm/bitops.h > > +++ b/arch/riscv/include/asm/bitops.h > > @@ -23,11 +23,6 @@ > > #include > > #include > > > > -#ifndef smp_mb__before_clear_bit > > -#define smp_mb__before_clear_bit() smp_mb() > > -#define smp_mb__after_clear_bit() smp_mb() > > -#endif /* smp_mb__before_clear_bit */ > > - > > #include > > #include > > #include > > Reviewed-by: Palmer Dabbelt Thank you. > > Do you want me to take this via the RISC-V tree? I only ended up with patch > 1/2 in my inbox, and I probably shouldn't take both. I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree, but really no preference from me as long as they get upstreamed. ;-) Thanks, Andrea > > Thanks!