Message ID | 20180205012146.23981-7-ulfalizer@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Feb 05, 2018 at 02:21:18AM +0100, Ulf Magnusson wrote: > The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in > commit 51a021244b9d ("atomic64: no need for > CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). > > Remove the ARCH_HAS_ATOMIC64_DEC_IS_POSITIVE select from RISCV. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > script. > > Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> > --- > arch/riscv/Kconfig | 1 - > 1 file changed, 1 deletion(-) Looks good. Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index b6722c246d9c..ff69c77b9e78 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -8,7 +8,6 @@ config RISCV > select OF > select OF_EARLY_FLATTREE > select OF_IRQ > - select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE > select ARCH_WANT_FRAME_POINTERS > select CLONE_BACKWARDS > select COMMON_CLK
On Sun, 04 Feb 2018 17:21:18 PST (-0800), ulfalizer@gmail.com wrote: > The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in > commit 51a021244b9d ("atomic64: no need for > CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). > > Remove the ARCH_HAS_ATOMIC64_DEC_IS_POSITIVE select from RISCV. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > script. > > Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> > --- > arch/riscv/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index b6722c246d9c..ff69c77b9e78 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -8,7 +8,6 @@ config RISCV > select OF > select OF_EARLY_FLATTREE > select OF_IRQ > - select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE > select ARCH_WANT_FRAME_POINTERS > select CLONE_BACKWARDS > select COMMON_CLK Thanks! Reviewed-by: Palmer Dabbelt <palmer@sifive.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Feb 8, 2018 at 7:34 PM, Palmer Dabbelt <palmer@sifive.com> wrote: > On Sun, 04 Feb 2018 17:21:18 PST (-0800), ulfalizer@gmail.com wrote: >> >> The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in >> commit 51a021244b9d ("atomic64: no need for >> CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). >> >> Remove the ARCH_HAS_ATOMIC64_DEC_IS_POSITIVE select from RISCV. >> >> Discovered with the >> >> https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py >> script. >> >> Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> >> --- >> arch/riscv/Kconfig | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >> index b6722c246d9c..ff69c77b9e78 100644 >> --- a/arch/riscv/Kconfig >> +++ b/arch/riscv/Kconfig >> @@ -8,7 +8,6 @@ config RISCV >> select OF >> select OF_EARLY_FLATTREE >> select OF_IRQ >> - select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE >> select ARCH_WANT_FRAME_POINTERS >> select CLONE_BACKWARDS >> select COMMON_CLK > > > Thanks! > > Reviewed-by: Palmer Dabbelt <palmer@sifive.com> I didn't have a particular tree in mind for these patches by the way, so feel free to pull it in yourselves. Cheers, Ulf -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index b6722c246d9c..ff69c77b9e78 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -8,7 +8,6 @@ config RISCV select OF select OF_EARLY_FLATTREE select OF_IRQ - select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_WANT_FRAME_POINTERS select CLONE_BACKWARDS select COMMON_CLK
The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in commit 51a021244b9d ("atomic64: no need for CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). Remove the ARCH_HAS_ATOMIC64_DEC_IS_POSITIVE select from RISCV. Discovered with the https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py script. Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> --- arch/riscv/Kconfig | 1 - 1 file changed, 1 deletion(-)