vmlinux.lds: add __clkevt_of_table to kernel
PATCH 1/1 vmlinux.lds: add __clkevt_of_table to kernel
The code introduced by commit 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of") refer to __clkevt_of_table what doesn't exist in the vmlinux. As a result kernel build failed with error: "clkevt-probe.c:63: undefined reference to `__clkevt_of_table’"
Fixes 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of")
Signed-off-by Alexander Kochetkov <[email protected]>
--- include/asm-generic/vmlinux.lds.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-generic/vmlinux.lds.h +2 -0
@@ -173,6 +173,7 @@ *(__##name##_of_table_end)#define CLKSRC_OF_TABLES () OF_TABLE(CONFIG_CLKSRC_OF, clksrc) +#define CLKEVT_OF_TABLES () OF_TABLE(CONFIG_CLKEVT_OF, clkevt)#define IRQCHIP_OF_MATCH_TABLE () OF_TABLE(CONFIG_IRQCHIP, irqchip)#define CLK_OF_TABLES () OF_TABLE(CONFIG_COMMON_CLK, clk)#define IOMMU_OF_TABLES () OF_TABLE(CONFIG_OF_IOMMU, iommu)
@@ -539,6 +540,7 @@ CLK_OF_TABLES() \ RESERVEDMEM_OF_TABLES() \ CLKSRC_OF_TABLES() \ + CLKEVT_OF_TABLES() \ IOMMU_OF_TABLES() \ CPU_METHOD_OF_TABLES() \CPUIDLE_METHOD_OF_TABLES () \
Signature · 1 line
1.7.9.5
Quoted 9 lines · Alexander Kochetkov
The code introduced by commit
0c8893c9095d("clockevents: Add a clkevt-of mechanism like clksrc-of") refer to__clkevt_of_tablewhat doesn't exist in the vmlinux. As a result kernel build failed with error: "clkevt-probe.c:63: undefined reference to `__clkevt_of_table’"Fixes 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of")Signed-off-by Alexander Kochetkov <[email protected]>---
Arnd,
I would like to take this patch through my tree.
Is it ok for you ?
Thanks.
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog