* [PATCH] sparc: remove unused "config BITS"
@ 2013-03-19 15:58 Paul Bolle
2013-03-19 16:33 ` David Miller
0 siblings, 1 reply; 8+ messages in thread
From: Paul Bolle @ 2013-03-19 15:58 UTC (permalink / raw)
To: David S. Miller; +Cc: sparclinux, linux-kernel
sparc's asm/module.h got removed in commit
786d35d45cc40b2a51a18f73e14e135d47fdced7 ("Make most arch asm/module.h
files use asm-generic/module.h"). That removed the only two uses of this
Kconfig symbol. So we can remove its entry too.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Eyeball tested.
arch/sparc/Kconfig | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 289127d..991abb2 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -84,12 +84,6 @@ config ARCH_DEFCONFIG
default "arch/sparc/configs/sparc32_defconfig" if SPARC32
default "arch/sparc/configs/sparc64_defconfig" if SPARC64
-# CONFIG_BITS can be used at source level to get 32/64 bits
-config BITS
- int
- default 32 if SPARC32
- default 64 if SPARC64
-
config IOMMU_HELPER
bool
default y if SPARC64
--
1.7.11.7
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 15:58 [PATCH] sparc: remove unused "config BITS" Paul Bolle
@ 2013-03-19 16:33 ` David Miller
2013-03-19 17:06 ` Paul Bolle
0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2013-03-19 16:33 UTC (permalink / raw)
To: pebolle; +Cc: sparclinux, linux-kernel
From: Paul Bolle <pebolle@tiscali.nl>
Date: Tue, 19 Mar 2013 16:58:47 +0100
> sparc's asm/module.h got removed in commit
> 786d35d45cc40b2a51a18f73e14e135d47fdced7 ("Make most arch asm/module.h
> files use asm-generic/module.h"). That removed the only two uses of this
> Kconfig symbol. So we can remove its entry too.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Eyeball tested.
We use this in the Makefile fragments, you cannot remove it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 16:33 ` David Miller
@ 2013-03-19 17:06 ` Paul Bolle
2013-03-19 20:14 ` Sam Ravnborg
2013-03-19 20:21 ` David Miller
0 siblings, 2 replies; 8+ messages in thread
From: Paul Bolle @ 2013-03-19 17:06 UTC (permalink / raw)
To: David Miller; +Cc: sparclinux, linux-kernel
On Tue, 2013-03-19 at 12:33 -0400, David Miller wrote:
> We use this in the Makefile fragments, you cannot remove it.
>From arch/sparc/Makefile:
ifeq ($(CONFIG_SPARC32),y)
[...]
[...]
export BITS := 32
[...]
else
[...]
[...]
export BITS := 64
[...]
So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
doesn't count as usage of "config BITS".
Paul Bolle
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 17:06 ` Paul Bolle
@ 2013-03-19 20:14 ` Sam Ravnborg
2013-03-19 20:23 ` David Miller
2013-03-19 20:26 ` Paul Bolle
2013-03-19 20:21 ` David Miller
1 sibling, 2 replies; 8+ messages in thread
From: Sam Ravnborg @ 2013-03-19 20:14 UTC (permalink / raw)
To: Paul Bolle; +Cc: David Miller, sparclinux, linux-kernel
On Tue, Mar 19, 2013 at 06:06:47PM +0100, Paul Bolle wrote:
> On Tue, 2013-03-19 at 12:33 -0400, David Miller wrote:
> > We use this in the Makefile fragments, you cannot remove it.
>
> >From arch/sparc/Makefile:
> ifeq ($(CONFIG_SPARC32),y)
> [...]
>
> [...]
> export BITS := 32
> [...]
>
> else
> [...]
>
> [...]
> export BITS := 64
> [...]
>
> So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
> Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
> doesn't count as usage of "config BITS".
Just double checked - you are right.
Maybe send a v2 with this info in changelog and add my:
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Sam
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 17:06 ` Paul Bolle
2013-03-19 20:14 ` Sam Ravnborg
@ 2013-03-19 20:21 ` David Miller
1 sibling, 0 replies; 8+ messages in thread
From: David Miller @ 2013-03-19 20:21 UTC (permalink / raw)
To: pebolle; +Cc: sparclinux, linux-kernel
From: Paul Bolle <pebolle@tiscali.nl>
Date: Tue, 19 Mar 2013 18:06:47 +0100
> On Tue, 2013-03-19 at 12:33 -0400, David Miller wrote:
>> We use this in the Makefile fragments, you cannot remove it.
>
> From arch/sparc/Makefile:
> ifeq ($(CONFIG_SPARC32),y)
> [...]
>
> [...]
> export BITS := 32
> [...]
>
> else
> [...]
>
> [...]
> export BITS := 64
> [...]
>
> So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
> Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
> doesn't count as usage of "config BITS".
Ok, I'm convinced now :-) Applied, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 20:14 ` Sam Ravnborg
@ 2013-03-19 20:23 ` David Miller
2013-03-19 20:26 ` Paul Bolle
1 sibling, 0 replies; 8+ messages in thread
From: David Miller @ 2013-03-19 20:23 UTC (permalink / raw)
To: sam; +Cc: pebolle, sparclinux, linux-kernel
From: Sam Ravnborg <sam@ravnborg.org>
Date: Tue, 19 Mar 2013 21:14:54 +0100
> On Tue, Mar 19, 2013 at 06:06:47PM +0100, Paul Bolle wrote:
>> On Tue, 2013-03-19 at 12:33 -0400, David Miller wrote:
>> > We use this in the Makefile fragments, you cannot remove it.
>>
>> >From arch/sparc/Makefile:
>> ifeq ($(CONFIG_SPARC32),y)
>> [...]
>>
>> [...]
>> export BITS := 32
>> [...]
>>
>> else
>> [...]
>>
>> [...]
>> export BITS := 64
>> [...]
>>
>> So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
>> Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
>> doesn't count as usage of "config BITS".
> Just double checked - you are right.
> Maybe send a v2 with this info in changelog and add my:
>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>
No need, I'll fix up the commit message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 20:14 ` Sam Ravnborg
2013-03-19 20:23 ` David Miller
@ 2013-03-19 20:26 ` Paul Bolle
2013-03-19 20:30 ` David Miller
1 sibling, 1 reply; 8+ messages in thread
From: Paul Bolle @ 2013-03-19 20:26 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: David Miller, sparclinux, linux-kernel
On Tue, 2013-03-19 at 21:14 +0100, Sam Ravnborg wrote:
> On Tue, Mar 19, 2013 at 06:06:47PM +0100, Paul Bolle wrote:
> > So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
> > Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
> > doesn't count as usage of "config BITS".
> Just double checked - you are right.
Thanks.
> Maybe send a v2 with this info in changelog and add my:
>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>
David: should I send a second version with a line or two on the
(non-related) use of BITS in the Makefiles and Sam's ACK?
Paul Bolle
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] sparc: remove unused "config BITS"
2013-03-19 20:26 ` Paul Bolle
@ 2013-03-19 20:30 ` David Miller
0 siblings, 0 replies; 8+ messages in thread
From: David Miller @ 2013-03-19 20:30 UTC (permalink / raw)
To: pebolle; +Cc: sam, sparclinux, linux-kernel
From: Paul Bolle <pebolle@tiscali.nl>
Date: Tue, 19 Mar 2013 21:26:08 +0100
> On Tue, 2013-03-19 at 21:14 +0100, Sam Ravnborg wrote:
>> On Tue, Mar 19, 2013 at 06:06:47PM +0100, Paul Bolle wrote:
>> > So $(BITS) is set depending on whether CONFIG_SPARC32 is set or not.
>> > Using $(BITS) in sparc's Makefiles is not using CONFIG_BITS. That
>> > doesn't count as usage of "config BITS".
>> Just double checked - you are right.
>
> Thanks.
>
>> Maybe send a v2 with this info in changelog and add my:
>>
>> Acked-by: Sam Ravnborg <sam@ravnborg.org>
>
> David: should I send a second version with a line or two on the
> (non-related) use of BITS in the Makefiles and Sam's ACK?
Like I replied to Sam, no need, I took care of this.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-03-19 20:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19 15:58 [PATCH] sparc: remove unused "config BITS" Paul Bolle
2013-03-19 16:33 ` David Miller
2013-03-19 17:06 ` Paul Bolle
2013-03-19 20:14 ` Sam Ravnborg
2013-03-19 20:23 ` David Miller
2013-03-19 20:26 ` Paul Bolle
2013-03-19 20:30 ` David Miller
2013-03-19 20:21 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®