Re : Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-09-07 Thread robert . jarzmik
Yes please Arnd, I'm still out for 1.5 week, so it would be great if you take 
that through your tree with my ack. Thanks.

Robert

PS: I know, top-posting is madness, but I'm really limited by technology right 
now.

- Mail d'origine -
De: Arnd Bergmann 
À: Robert Jarzmik 
Cc: Haojian Zhuang , Daniel Lezcano 
, linux-arm-ker...@lists.infradead.org, 
linux-kernel@vger.kernel.org, devicet...@vger.kernel.org, Thomas Gleixner 
, a...@kernel.org
Envoyé: Sun, 07 Sep 2014 23:06:05 +0200 (CEST)
Objet: Re: [PATCH ] ARM: pxa: fix section mismatch warning for 
pxa_timer_nodt_init

On Saturday 26 July 2014 20:50:36 Arnd Bergmann wrote:
> commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
> clocksource") introduced a harmless section mismatch warning for
> all pxa platforms, by introducing a new pxa_timer_init() function
> that is not marked __init but that calls pxa_timer_nodt_init(),
> which is. The function is only called at init time, so it is safe
> to also annotate it this way.
> 
> Signed-off-by: Arnd Bergmann 
> 

Apparently this is not merged yet, should we take it through arm-soc?

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
 * For non device-tree builds, keep legacy timer init
 */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
 get_clock_tick_rate());

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-09-07 Thread Arnd Bergmann
On Saturday 26 July 2014 20:50:36 Arnd Bergmann wrote:
> commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
> clocksource") introduced a harmless section mismatch warning for
> all pxa platforms, by introducing a new pxa_timer_init() function
> that is not marked __init but that calls pxa_timer_nodt_init(),
> which is. The function is only called at init time, so it is safe
> to also annotate it this way.
> 
> Signed-off-by: Arnd Bergmann 
> 

Apparently this is not merged yet, should we take it through arm-soc?

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
  * For non device-tree builds, keep legacy timer init
  */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-09-07 Thread Arnd Bergmann
On Saturday 26 July 2014 20:50:36 Arnd Bergmann wrote:
 commit a38b1f60b5245a3 (ARM: pxa: Add non device-tree timer link to
 clocksource) introduced a harmless section mismatch warning for
 all pxa platforms, by introducing a new pxa_timer_init() function
 that is not marked __init but that calls pxa_timer_nodt_init(),
 which is. The function is only called at init time, so it is safe
 to also annotate it this way.
 
 Signed-off-by: Arnd Bergmann a...@arndb.de
 

Apparently this is not merged yet, should we take it through arm-soc?

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
  * For non device-tree builds, keep legacy timer init
  */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re : Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-09-07 Thread robert . jarzmik
Yes please Arnd, I'm still out for 1.5 week, so it would be great if you take 
that through your tree with my ack. Thanks.

Robert

PS: I know, top-posting is madness, but I'm really limited by technology right 
now.

- Mail d'origine -
De: Arnd Bergmann a...@arndb.de
À: Robert Jarzmik robert.jarz...@free.fr
Cc: Haojian Zhuang haojian.zhu...@gmail.com, Daniel Lezcano 
daniel.lezc...@linaro.org, linux-arm-ker...@lists.infradead.org, 
linux-kernel@vger.kernel.org, devicet...@vger.kernel.org, Thomas Gleixner 
t...@linutronix.de, a...@kernel.org
Envoyé: Sun, 07 Sep 2014 23:06:05 +0200 (CEST)
Objet: Re: [PATCH ] ARM: pxa: fix section mismatch warning for 
pxa_timer_nodt_init

On Saturday 26 July 2014 20:50:36 Arnd Bergmann wrote:
 commit a38b1f60b5245a3 (ARM: pxa: Add non device-tree timer link to
 clocksource) introduced a harmless section mismatch warning for
 all pxa platforms, by introducing a new pxa_timer_init() function
 that is not marked __init but that calls pxa_timer_nodt_init(),
 which is. The function is only called at init time, so it is safe
 to also annotate it this way.
 
 Signed-off-by: Arnd Bergmann a...@arndb.de
 

Apparently this is not merged yet, should we take it through arm-soc?

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
 * For non device-tree builds, keep legacy timer init
 */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
 get_clock_tick_rate());

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-27 Thread Daniel Lezcano

On 07/26/2014 08:50 PM, Arnd Bergmann wrote:

commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
clocksource") introduced a harmless section mismatch warning for
all pxa platforms, by introducing a new pxa_timer_init() function
that is not marked __init but that calls pxa_timer_nodt_init(),
which is. The function is only called at init time, so it is safe
to also annotate it this way.

Signed-off-by: Arnd Bergmann 
---
Daniel, please apply on top of Robert's patch series.


Applied thanks!

  -- Daniel



diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
  /*
   * For non device-tree builds, keep legacy timer init
   */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
  {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());




--
  Linaro.org │ Open source software for ARM SoCs

Follow Linaro:   Facebook |
 Twitter |
 Blog

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-27 Thread Daniel Lezcano

On 07/26/2014 08:50 PM, Arnd Bergmann wrote:

commit a38b1f60b5245a3 (ARM: pxa: Add non device-tree timer link to
clocksource) introduced a harmless section mismatch warning for
all pxa platforms, by introducing a new pxa_timer_init() function
that is not marked __init but that calls pxa_timer_nodt_init(),
which is. The function is only called at init time, so it is safe
to also annotate it this way.

Signed-off-by: Arnd Bergmann a...@arndb.de
---
Daniel, please apply on top of Robert's patch series.


Applied thanks!

  -- Daniel



diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
  /*
   * For non device-tree builds, keep legacy timer init
   */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
  {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());




--
 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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-26 Thread Robert Jarzmik
Arnd Bergmann  writes:

> commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
> clocksource") introduced a harmless section mismatch warning for
> all pxa platforms, by introducing a new pxa_timer_init() function
> that is not marked __init but that calls pxa_timer_nodt_init(),
> which is. The function is only called at init time, so it is safe
> to also annotate it this way.
>
> Signed-off-by: Arnd Bergmann 

Indeed.

Acked-by: Robert Jarzmik 

Cheers.

--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-26 Thread Arnd Bergmann
commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
clocksource") introduced a harmless section mismatch warning for
all pxa platforms, by introducing a new pxa_timer_init() function
that is not marked __init but that calls pxa_timer_nodt_init(),
which is. The function is only called at init time, so it is safe
to also annotate it this way.

Signed-off-by: Arnd Bergmann 
---
Daniel, please apply on top of Robert's patch series.

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
  * For non device-tree builds, keep legacy timer init
  */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-26 Thread Arnd Bergmann
commit a38b1f60b5245a3 (ARM: pxa: Add non device-tree timer link to
clocksource) introduced a harmless section mismatch warning for
all pxa platforms, by introducing a new pxa_timer_init() function
that is not marked __init but that calls pxa_timer_nodt_init(),
which is. The function is only called at init time, so it is safe
to also annotate it this way.

Signed-off-by: Arnd Bergmann a...@arndb.de
---
Daniel, please apply on top of Robert's patch series.

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 630fa916bbc6..04b013fbc98f 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
 /*
  * For non device-tree builds, keep legacy timer init
  */
-void pxa_timer_init(void)
+void __init pxa_timer_init(void)
 {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a0),
get_clock_tick_rate());

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-26 Thread Robert Jarzmik
Arnd Bergmann a...@arndb.de writes:

 commit a38b1f60b5245a3 (ARM: pxa: Add non device-tree timer link to
 clocksource) introduced a harmless section mismatch warning for
 all pxa platforms, by introducing a new pxa_timer_init() function
 that is not marked __init but that calls pxa_timer_nodt_init(),
 which is. The function is only called at init time, so it is safe
 to also annotate it this way.

 Signed-off-by: Arnd Bergmann a...@arndb.de

Indeed.

Acked-by: Robert Jarzmik robert.jarz...@free.fr

Cheers.

--
Robert
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/