Hi,
It seems that we have some problems with g_ether and pxa cpufreq. This is problematic output of `make CONFIG_DEBUG_SECTION_MISMATCH=y':
WARNING: vmlinux.o(.data+0x2e18): Section mismatch in reference from the variable pxa_cpufreq_driver to the function .init.text:pxa_cpufreq_init()
The variable pxa_cpufreq_driver references
the function __init pxa_cpufreq_init()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x1e514): Section mismatch in reference from the variable eth_config_driver to the function .init.text:eth_do_config()
The variable eth_config_driver references
the function __init eth_do_config()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x1e6f0): Section mismatch in reference from the variable eth_driver to the function .init.text:eth_bind()
The variable eth_driver references
the function __init eth_bind()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Best regards,
Tomas Cech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100802/6c19f562/attachment.html>
On Mon, 02 Aug 2010 11:21:23 +0200, Tom?? 'Sleep_Walker' ?ech [off-list ref] wrote:
It seems that we have some problems with g_ether and pxa cpufreq.
This is problematic output of `make CONFIG_DEBUG_SECTION_MISMATCH=y':
Problems with g_ether should be fixed in -next.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Micha? "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
A simple fix to cpufreq for pxa would be as below:
diff --git a/arch/arm/mach-pxa/cpufreq-pxa2xx.c
b/arch/arm/mach-pxa/cpufreq-pxa2xx.c
index 268a9bc..50d5939 100644
--- a/arch/arm/mach-pxa/cpufreq-pxa2xx.c
+++ b/arch/arm/mach-pxa/cpufreq-pxa2xx.c
@@ -398,7 +398,7 @@ static int pxa_set_target(struct cpufreq_policy *policy,
return 0;
}
-static __init int pxa_cpufreq_init(struct cpufreq_policy *policy)
+static int pxa_cpufreq_init(struct cpufreq_policy *policy)
{
int i;
unsigned int freq;diff --git a/arch/arm/mach-pxa/cpufreq-pxa3xx.c
b/arch/arm/mach-pxa/cpufreq-pxa3xx.c
index 27fa329..0a0d0fe 100644
--- a/arch/arm/mach-pxa/cpufreq-pxa3xx.c
+++ b/arch/arm/mach-pxa/cpufreq-pxa3xx.c
@@ -204,7 +204,7 @@ static int pxa3xx_cpufreq_set(struct cpufreq_policy *policy,
return 0;
}
-static __init int pxa3xx_cpufreq_init(struct cpufreq_policy *policy)
+static int pxa3xx_cpufreq_init(struct cpufreq_policy *policy)
{
int ret = -EINVAL;
On Thu, Aug 5, 2010 at 5:20 PM, Micha? Nazarewicz
[off-list ref] wrote:
On Mon, 02 Aug 2010 11:21:23 +0200, Tom?? 'Sleep_Walker' ??ech
[off-list ref] wrote:
quoted
It seems that we have some problems with g_ether and pxa cpufreq.
This is problematic output of `make CONFIG_DEBUG_SECTION_MISMATCH=y':
Problems with g_ether should be fixed in -next.
--
Best regards, ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? ? _
| Humble Liege of Serenely Enlightened Majesty of ?o' \,=./ `o
| Computer Science, ?Micha? "mina86" Nazarewicz ? ? ? (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--