Remove remaining references of CONFIG_GENERIC_TIME
PATCH 1/1 Remove remaining references of CONFIG_GENERIC_TIME
Commit 592913ecb87a9e06f98ddb55b298f1a66bf94c6b has killed off any use of this config option long ago.
--- arch/arm/Kconfig | 4 ---- arch/mn10300/Kconfig | 3 --- arch/tile/Kconfig | 3 --- arch/tile/configs/tilegx_defconfig | 1 - arch/tile/configs/tilepro_defconfig | 1 - arch/um/defconfig | 1 - arch/xtensa/configs/iss_defconfig | 1 - arch/xtensa/configs/s6105_defconfig | 1 - 8 files changed, 0 insertions(+), 15 deletions(-)
arch/arm/Kconfig +0 -4
@@ -347,7 +347,6 @@ config ARCH_GEMINI config ARCH_PRIMA2 bool "CSR SiRFSoC PRIMA2 ARM Cortex A9 Platform" select CPU_V7 - select GENERIC_TIME select NO_IOPORT select GENERIC_CLOCKEVENTS select CLKDEV_LOOKUP
@@ -520,7 +519,6 @@ config ARCH_LPC32XX select ARM_AMBA select USB_ARCH_HAS_OHCI select CLKDEV_LOOKUP - select GENERIC_TIME select GENERIC_CLOCKEVENTS help Support for the NXP LPC32XX family of processors
@@ -599,7 +597,6 @@ config ARCH_TEGRA bool "NVIDIA Tegra" select CLKDEV_LOOKUP select CLKSRC_MMIO - select GENERIC_TIME select GENERIC_CLOCKEVENTS select GENERIC_GPIO select HAVE_CLK
@@ -911,7 +908,6 @@ config ARCH_VT8500 config ARCH_ZYNQ bool "Xilinx Zynq ARM Cortex A9 Platform" select CPU_V7 - select GENERIC_TIME select GENERIC_CLOCKEVENTS select CLKDEV_LOOKUP select ARM_GIC
arch/mn10300/Kconfig +0 -3
@@ -47,9 +47,6 @@ config GENERIC_CMOS_UPDATE config GENERIC_HWEIGHT def_bool y -config GENERIC_TIME - def_bool y - config GENERIC_CLOCKEVENTS def_bool y
arch/tile/Kconfig +0 -3
@@ -45,9 +45,6 @@ config NEED_PER_CPU_PAGE_FIRST_CHUNK config SYS_SUPPORTS_HUGETLBFS def_bool y -config GENERIC_TIME - def_bool y - config GENERIC_CLOCKEVENTS def_bool y
arch/tile/configs/tilegx_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_HAVE_ARCH_ALLOC_REMAP=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y -CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_DEFAULT_MIGRATION_COST=10000000
arch/tile/configs/tilepro_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_HAVE_ARCH_ALLOC_REMAP=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y -CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_DEFAULT_MIGRATION_COST=10000000
arch/um/defconfig +0 -1
@@ -13,7 +13,6 @@ CONFIG_LOCKDEP_SUPPORT=y # CONFIG_STACKTRACE_SUPPORT is not set CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_BUG=y -CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_IRQ_RELEASE_METHOD=y CONFIG_HZ=100
arch/xtensa/configs/iss_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_NO_IOPORT=y CONFIG_HZ=100 -CONFIG_GENERIC_TIME=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
arch/xtensa/configs/s6105_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_NO_IOPORT=y CONFIG_HZ=100 -CONFIG_GENERIC_TIME=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" #
Signature · 1 line
1.7.4.1
Hello.
Quoted 1 line · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any
Please also specify that commit's summry in parens.
Quoted 3 lines
use of this config option long ago.
Signed-off-by Zoltan Devai<[email protected]>
WBR, Sergei
Quoted 4 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.Signed-off-by Zoltan Devai <[email protected]>
For arch/um/:
Signature · 2 lines
Thanks, //richard
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.
I don't see the point of this - we were free of GENERIC_TIME on ARM shortly after it was originally killed off. The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. And it's going to continue being missed at the review stage.
I've a similar problem with folk on ARM including mach/gpio.h as their sole gpio header file rather than linux/gpio.h - I've been trying for the last 1-2 years to educate people to use linux/ in preference. You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) They will end up caring when I push a change during the next merge window though, so I'll eventually stop mach/gpio.h being included. (Instead, it'll be asm/gpio.h).
GENERIC_TIME though... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.
Quoted 19 lines · Russell King - ARM Linux
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.
Doesn't kconf error out when trying to select a non-existent symbol?
Gr{oetje,eeting}s,
? ? ? ? ? ? ? ? ? ? ? ? Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?? -- Linus Torvalds
Quoted 21 lines · Geert Uytterhoeven
Quoted 19 lines · Russell King - ARM Linux
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 4 lines
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
Quoted 22 lines · Russell King - ARM Linux
Quoted 21 lines · Geert Uytterhoeven
Quoted 19 lines · Russell King - ARM Linux
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Gr{oetje,eeting}s,
? ? ? ? ? ? ? ? ? ? ? ? Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?? -- Linus Torvalds
Quoted 8 lines · Geert Uytterhoeven
Quoted 4 lines · Russell King - ARM Linux
Quoted 1 line · Geert Uytterhoeven
Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Not sure, this might have been done on purpose to make cross-tree series easier!?
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
Hi,
Quoted 24 lines · Geert Uytterhoeven
Quoted 22 lines · Russell King - ARM Linux
Quoted 21 lines · Geert Uytterhoeven
Quoted 19 lines · Russell King - ARM Linux
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that arch/arm/Kconfig can reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.
- Arnaud
Quoted 36 lines · Arnaud Lacombe
Hi,
Quoted 24 lines · Geert Uytterhoeven
Quoted 22 lines · Russell King - ARM Linux
Quoted 21 lines · Geert Uytterhoeven
Quoted 19 lines · Russell King - ARM Linux
Quoted 2 lines · Zoltan Devai
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Quoted 8 lines
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that
arch/arm/Kconfigcan reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.
Would it be possible instead to make Kconfig go through all the symbols after everything is processed and identify any remaining "dummy symbols" which were not actually declared anywhere?
Right now if you typo a "select" statement you get no warnings that you are selecting something that does not exist, which is probably a cause of many kinds of errors beyond this particular one.
Cheers,
Kyle Moffett
Hi,
Quoted 22 lines · Kyle Moffett
Quoted 12 lines · Arnaud Lacombe
Hi,
Quoted 9 lines · Geert Uytterhoeven
On Mon, Aug 1, 2011 at 12:14, Russell King - ARM Linux
Quoted 5 lines
Quoted 3 lines
[...]
Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Quoted 8 lines
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that
arch/arm/Kconfigcan reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.
Quoted 4 lines
Would it be possible instead to make
Kconfiggo through all the symbols after everything is processed and identify any remaining "dummy symbols" which were not actually declared anywhere?
this is software, everything is possible.
Quoted 4 lines
Right now if you typo a "select" statement you get no warnings that you are selecting something that does not exist, which is probably a cause of many kinds of errors beyond this particular one.
d'oh! ... I'm not sure we want that. Dummy symbol are heavily used internally, a trivial implementation[0] triggered:
% make REGENERATE_PARSERS=y alldefconfig 2>&1 | grep 'defined without type' | wc -l
817
Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
bool
config BAZ
bool
drivers/cpufreq/Kconfig
config BAR
depends on ARM && FOO
select BAZYou will end up triggering the warning for every ARCH != ARM...
- Arnaud
[0]: or rather a fix as we currently only do the check for symbol linked to menu
Quoted 10 lines · Arnaud Lacombe
Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
boolconfig BAZ
bool
Quoted 6 lines
drivers/cpufreq/Kconfig
config BARdepends on ARM && FOO select BAZYou will end up triggering the warning for every ARCH != ARM...
You can keep a state for those symbols with regard to their level of reference. Surely if ARM isn't true, BAZ is not "actively" referenced in the end.
Nicolas
Hi,
Quoted 17 lines · Nicolas Pitre
Quoted 15 lines · Arnaud Lacombe
Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
? ? boolconfig BAZ
? ? bool
drivers/cpufreq/Kconfig
config BAR
? ? depends on ARM && FOO
? ? select BAZ
Quoted 6 lines
Quoted 1 line
You will end up triggering the warning for every ARCH != ARM...
You can keep a state for those symbols with regard to their level of reference. ?Surely if ARM isn't true, BAZ is not "actively" referenced in the end.
he :) we enter in compilers optimizations. As much as I agree with you, that might not be trivial to implement given the internal, ad-hoc, structure of kconfig. All of that would be useless if we had a single global namespace.
- Arnaud
Quoted 48 lines · Arnaud Lacombe
Quoted 20 lines · Kyle Moffett
Quoted 10 lines · Arnaud Lacombe
Quoted 9 lines · Geert Uytterhoeven
On Mon, Aug 1, 2011 at 12:14, Russell King - ARM Linux
Quoted 5 lines
Quoted 3 lines
[...]
Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Quoted 8 lines
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that
arch/arm/Kconfigcan reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.Quoted 4 lines
Would it be possible instead to make
Kconfiggo through all the symbols after everything is processed and identify any remaining "dummy symbols" which were not actually declared anywhere?this is software, everything is possible.
Quoted 4 lines
Right now if you typo a "select" statement you get no warnings that you are selecting something that does not exist, which is probably a cause of many kinds of errors beyond this particular one.
d'oh! ... I'm not sure we want that. Dummy symbol are heavily used internally, a trivial implementation[0] triggered:
% make REGENERATE_PARSERS=y alldefconfig 2>&1 | grep 'defined without type' | wc -l
817Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
? ?boolconfig BAZ
? ?bool
Quoted 6 lines
drivers/cpufreq/Kconfig
config BAR
? ?depends on ARM && FOO
? ?select BAZYou will end up triggering the warning for every ARCH != ARM...
Perhaps that's an argument for building a single Kconfig namespace? At the very least, most of the architecture-generic warnings could be worked around with trivial predeclarations in an "arch/Kconfig" file:
config ARM
bool
[...]
config X86
bool
There's probably technical issues that I'm missing that would make that inordinately painful, but I can't see them right now... any ideas?
Cheers,
Kyle Moffett
Hi,
Quoted 49 lines · Kyle Moffett
Quoted 48 lines · Arnaud Lacombe
Quoted 20 lines · Kyle Moffett
Quoted 10 lines · Arnaud Lacombe
Quoted 9 lines · Geert Uytterhoeven
On Mon, Aug 1, 2011 at 12:14, Russell King - ARM Linux
Quoted 5 lines
Quoted 3 lines
[...]
Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Quoted 8 lines
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that
arch/arm/Kconfigcan reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.Quoted 4 lines
Would it be possible instead to make
Kconfiggo through all the symbols after everything is processed and identify any remaining "dummy symbols" which were not actually declared anywhere?this is software, everything is possible.
Quoted 4 lines
Right now if you typo a "select" statement you get no warnings that you are selecting something that does not exist, which is probably a cause of many kinds of errors beyond this particular one.
d'oh! ... I'm not sure we want that. Dummy symbol are heavily used internally, a trivial implementation[0] triggered:
% make REGENERATE_PARSERS=y alldefconfig 2>&1 | grep 'defined without type' | wc -l
817Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
? ?boolconfig BAZ
? ?bool
Quoted 8 lines
Quoted 6 lines
drivers/cpufreq/Kconfig
config BAR
? ?depends on ARM && FOO
? ?select BAZYou will end up triggering the warning for every ARCH != ARM...
Perhaps that's an argument for building a single
Kconfignamespace?
I'm working on that, but this is a real mess :)
Quoted 12 lines
At the very least, most of the architecture-generic warnings could be worked around with trivial predeclarations in an "
arch/Kconfig" file:config ARM
? ? ? ?bool
[...]
config X86
? ? ? ?boolThere's probably technical issues that I'm missing that would make that inordinately painful, but I can't see them right now... any ideas?
not I directly forsee.
- Arnaud
Quoted 3 lines
Cheers,
Kyle Moffett
Hi,
Quoted 52 lines · Arnaud Lacombe
Hi,
Quoted 22 lines · Kyle Moffett
Quoted 12 lines · Arnaud Lacombe
Hi,
Quoted 9 lines · Geert Uytterhoeven
On Mon, Aug 1, 2011 at 12:14, Russell King - ARM Linux
Quoted 5 lines
Quoted 3 lines
[...]
Doesn't kconf error out when trying to select a non-existent symbol?
Nope.
You're right. So that's a bug.
Quoted 8 lines
depends on what you are trying to achieve and what the problem is.
Internally kconfig will create a dummy symbol when it encounter a missing symbol so that
arch/arm/Kconfigcan reference a symbol which will be fully defined later on. I do not think you want to forward decl all the symbol which can be used. That'd be a mess. That said, we can come with a form of symbol deprecation that would error-out when used.Quoted 4 lines
Would it be possible instead to make
Kconfiggo through all the symbols after everything is processed and identify any remaining "dummy symbols" which were not actually declared anywhere?this is software, everything is possible.
Quoted 4 lines
Right now if you typo a "select" statement you get no warnings that you are selecting something that does not exist, which is probably a cause of many kinds of errors beyond this particular one.
d'oh! ... I'm not sure we want that. Dummy symbol are heavily used internally, a trivial implementation[0] triggered:
% make REGENERATE_PARSERS=y alldefconfig 2>&1 | grep 'defined without type' | wc -l
817Moreover, this approach is deemed to fail. The current symbol namespace is tied to an arch, so whenever you do:
arch/arm/Kconfig:
config FOO
? ?boolconfig BAZ
? ?bool
Quoted 7 lines
drivers/cpufreq/Kconfig
config BAR
? ?depends on ARM && FOO
? ?select BAZYou will end up triggering the warning for every ARCH != ARM...
Ok, I restricted the tagging to selected symbol, and we definitively have this pattern occurring. It shall be fixed when/if we ends up having a global configuration namespace.
I think I can work a patch.
- Arnaud
2011/8/1 Russell King - ARM Linux <[email protected]>:
Quoted 19 lines · Zoltan Devai
Quoted 2 lines
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.
Sure, but the patch at least reduces the chances of copy-pasting it, and makes it obvious by a simple grep that there's no use of it at all, so I still think it's wort merging.
Don't know though who should pick this up...
Z
Quoted 20 lines · Zoltan Devai
2011/8/1 Russell King - ARM Linux <[email protected]>:
Quoted 19 lines · Zoltan Devai
Quoted 2 lines
Commit
592913ecb87a9e06f98ddb55b298f1a66bf94c6bhas killed off any use of this config option long ago.I don't see the point of this - we were free of
GENERIC_TIMEon ARM shortly after it was originally killed off. ?The problem is you can't stop people introducing new uses of this - because it existed once and there's nothing which errors out on its presence, people are going to continue submitting patches with it in. ?And it's going to continue being missed at the review stage.I've a similar problem with folk on ARM including
mach/gpio.has their sole gpio header file rather thanlinux/gpio.h- I've been trying for the last 1-2 years to educate people to use linux/ in preference. ?You can't do it, and I'm still just about the only one who picks up on that. (SoC maintainers don't care.) ?They will end up caring when I push a change during the next merge window though, so I'll eventually stopmach/gpio.hbeing included. ?(Instead, it'll beasm/gpio.h).
Quoted 6 lines
Quoted 2 lines
GENERIC_TIMEthough... I don't think you'll ever stop new uses of it creeping in unless you can arrange for something to error out.Sure, but the patch at least reduces the chances of copy-pasting it, and makes it obvious by a simple grep that there's no use of it at all, so I still think it's wort merging.
That argument doesn't work - as can be seen from my first paragraph. The fact that we have new references to it in arch/arm/Kconfig is proof of that.