All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mx2/mx3: debug-macro.S needs deprecated symbols
@ 2010-01-25 17:23 Uwe Kleine-König
  2010-01-26 17:57 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2010-01-25 17:23 UTC (permalink / raw)
  To: linux-arm-kernel

This fixes:

	arch/arm/kernel/debug.S:147: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'
	arch/arm/kernel/debug.S:163: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'

when compiling for mx2 with CONFIG_DEBUG_LL=y.  A similar error exists
on mx3 and is fixed by this commit, too.

These were introduced by aae7019382896cf1075a93acc564e42601bc44a2.

Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
Hello,

the offending commit is currently in mxc-master but not yet in rmk's
tree.

Best regards
Uwe

 arch/arm/plat-mxc/include/mach/debug-macro.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S
index 15b2b14..21e0f07 100644
--- a/arch/arm/plat-mxc/include/mach/debug-macro.S
+++ b/arch/arm/plat-mxc/include/mach/debug-macro.S
@@ -10,6 +10,7 @@
  * published by the Free Software Foundation.
  *
  */
+#define IMX_NEEDS_DEPRECATED_SYMBOLS
 
 #ifdef CONFIG_ARCH_MX1
 #include <mach/mx1.h>
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] mx2/mx3: debug-macro.S needs deprecated symbols
  2010-01-25 17:23 [PATCH] mx2/mx3: debug-macro.S needs deprecated symbols Uwe Kleine-König
@ 2010-01-26 17:57 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2010-01-26 17:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 25, 2010 at 06:23:04PM +0100, Uwe Kleine-K?nig wrote:
> This fixes:
> 
> 	arch/arm/kernel/debug.S:147: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'
> 	arch/arm/kernel/debug.S:163: Error: constant expression expected -- `ldrne r3,=(((UART1_BASE_ADDR)-AIPI_BASE_ADDR)+AIPI_BASE_ADDR_VIRT)'
> 
> when compiling for mx2 with CONFIG_DEBUG_LL=y.  A similar error exists
> on mx3 and is fixed by this commit, too.

Ok, added to mxc-master.

Sascha

> 
> These were introduced by aae7019382896cf1075a93acc564e42601bc44a2.
> 
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
> Hello,
> 
> the offending commit is currently in mxc-master but not yet in rmk's
> tree.
> 
> Best regards
> Uwe
> 
>  arch/arm/plat-mxc/include/mach/debug-macro.S |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S
> index 15b2b14..21e0f07 100644
> --- a/arch/arm/plat-mxc/include/mach/debug-macro.S
> +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S
> @@ -10,6 +10,7 @@
>   * published by the Free Software Foundation.
>   *
>   */
> +#define IMX_NEEDS_DEPRECATED_SYMBOLS
>  
>  #ifdef CONFIG_ARCH_MX1
>  #include <mach/mx1.h>
> -- 
> 1.6.6
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-26 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-25 17:23 [PATCH] mx2/mx3: debug-macro.S needs deprecated symbols Uwe Kleine-König
2010-01-26 17:57 ` Sascha Hauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.