* [PATCH] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure
@ 2011-08-15 15:31 Peter Huewe
2011-08-15 15:33 ` Russell King - ARM Linux
0 siblings, 1 reply; 3+ messages in thread
From: Peter Huewe @ 2011-08-15 15:31 UTC (permalink / raw)
To: linux-arm-kernel
This patch fixes a build failure for the netwinder_defconfig by adding
the necessary select CLKEVT_I8253 statement to the KCONFIG option.
Without this patch the build fails with this linker error:
isa-rtc.c:(.init.text+0x11d4): undefined reference to
`clockevent_i8253_init'
isa-rtc.c:(.init.text+0x11dc): undefined reference to `i8253_clockevent'
arch/arm/mach-footbridge/built-in.o:(.data+0x18c): undefined reference
to `i8253_clockevent'
This is because the functions are guarded by a #ifdef
CONFIG_CLKEVT_I8253
KernelVersion: Linux-next 20110812
but this is also present in Linus' current tree since July 1st.
(since commit e6220bd "i8253: Create common clockevent implementation")
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
| 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
index dc26fff..c8e7afc 100644
--- a/arch/arm/mach-footbridge/Kconfig
+++ b/arch/arm/mach-footbridge/Kconfig
@@ -62,6 +62,7 @@ config ARCH_EBSA285_HOST
config ARCH_NETWINDER
bool "NetWinder"
select CLKSRC_I8253
+ select CLKEVT_I8253
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure
2011-08-15 15:31 [PATCH] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure Peter Huewe
@ 2011-08-15 15:33 ` Russell King - ARM Linux
2011-08-15 15:40 ` [PATCH v2] " Peter Huewe
0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2011-08-15 15:33 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Aug 15, 2011 at 05:31:20PM +0200, Peter Huewe wrote:
> diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
> index dc26fff..c8e7afc 100644
> --- a/arch/arm/mach-footbridge/Kconfig
> +++ b/arch/arm/mach-footbridge/Kconfig
> @@ -62,6 +62,7 @@ config ARCH_EBSA285_HOST
> config ARCH_NETWINDER
> bool "NetWinder"
> select CLKSRC_I8253
> + select CLKEVT_I8253
Could you please add this in alphabetical order, just like the rest of the
'select' options here?
> select FOOTBRIDGE_HOST
> select ISA
> select ISA_DMA
Then I'll take it through the patch system into my fixes branch. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure
2011-08-15 15:33 ` Russell King - ARM Linux
@ 2011-08-15 15:40 ` Peter Huewe
0 siblings, 0 replies; 3+ messages in thread
From: Peter Huewe @ 2011-08-15 15:40 UTC (permalink / raw)
To: linux-arm-kernel
This patch fixes a build failure for the netwinder_defconfig by adding
the necessary select CLKEVT_I8253 statement to the KCONFIG option.
Without this patch the build fails with this linker error:
isa-rtc.c:(.init.text+0x11d4): undefined reference to
`clockevent_i8253_init'
isa-rtc.c:(.init.text+0x11dc): undefined reference to `i8253_clockevent'
arch/arm/mach-footbridge/built-in.o:(.data+0x18c): undefined reference
to `i8253_clockevent'
This is because the functions are guarded by a #ifdef
CONFIG_CLKEVT_I8253
KernelVersion: Linux-next 20110812
but this is also present in Linus' current tree since July 1st.
(since commit e6220bd "i8253: Create common clockevent implementation")
v2:
Added the option in the right alphabetical order.
I also adjusted the alphabetical order for ARCH_CATS so both are
similar
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
| 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
--git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
index dc26fff..f643ef8 100644
--- a/arch/arm/mach-footbridge/Kconfig
+++ b/arch/arm/mach-footbridge/Kconfig
@@ -4,8 +4,8 @@ menu "Footbridge Implementations"
config ARCH_CATS
bool "CATS"
- select CLKSRC_I8253
select CLKEVT_I8253
+ select CLKSRC_I8253
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
@@ -61,6 +61,7 @@ config ARCH_EBSA285_HOST
config ARCH_NETWINDER
bool "NetWinder"
+ select CLKEVT_I8253
select CLKSRC_I8253
select FOOTBRIDGE_HOST
select ISA
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-15 15:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 15:31 [PATCH] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure Peter Huewe
2011-08-15 15:33 ` Russell King - ARM Linux
2011-08-15 15:40 ` [PATCH v2] " Peter Huewe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).