[PATCH 6/6] arm/shark: fix debug macro compilation failure

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jul 22 06:36:26 EDT 2010


On Wed, Jul 14, 2010 at 10:32:39AM +0800, Jeremy Kerr wrote:
> We need a waituart macro.
> 
> Signed-off-by: Jeremy Kerr <jeremy.kerr at canonical.com>
> 
> ---
>  arch/arm/mach-shark/include/mach/debug-macro.S |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-shark/include/mach/debug-macro.S b/arch/arm/mach-shark/include/mach/debug-macro.S
> index 269281f..3c46860 100644
> --- a/arch/arm/mach-shark/include/mach/debug-macro.S
> +++ b/arch/arm/mach-shark/include/mach/debug-macro.S
> @@ -21,6 +21,9 @@
>  		strb	\rd, [\rx]
>  		.endm
>  
> +		.macro waituart,rd,rx
> +		.endm
> +
>  		.macro	busyuart,rd,rx
>  		mov	\rd, #0
>  1001:		add	\rd, \rd, #1
> @@ -28,3 +31,5 @@
>  		bne	1001b
>  		.endm
>  
> +
> +

This last hunk isn't required!



More information about the linux-arm-kernel mailing list