Re: [PARISC] fix pacache .size with new binutils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-03-21 at 22:18 +0200, Meelis Roos wrote:
> Currently, 2.6.38 compile fails on parisc64 because binutils complains 
> that .size expression does not evaluate to a constant. The problem is 
> confusion between flush_alias_page and flush_user_dcache_range_asm.
> 
> This patch fixes pacache.s compilation by adding ENDPROC to flush_alias 
> page and ENTRY and correct ENDPROC to flush_user_dcache_range_asm.
> 
> Signed-off-by: Meelis Roos <mroos@xxxxxxxx>
> 
> diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S
> index 09b77b2..f3d7da6 100644
> --- a/arch/parisc/kernel/pacache.S
> +++ b/arch/parisc/kernel/pacache.S
> @@ -842,11 +842,10 @@ ENTRY(flush_alias_page)
>  	.exit
>  
>  	.procend
> +ENDPROC(flush_alias_page)
>  #endif
>  
> -	.export flush_user_dcache_range_asm
> -
> -flush_user_dcache_range_asm:
> +ENTRY(flush_user_dcache_range_asm)
>  	.proc
>  	.callinfo NO_CALLS
>  	.entry
> @@ -865,7 +864,7 @@ flush_user_dcache_range_asm:
>  	.exit
>  
>  	.procend
> -ENDPROC(flush_alias_page)
> +ENDPROC(flush_user_dcache_range_asm)
>  
>  ENTRY(flush_kernel_dcache_range_asm)
>  	.proc

This won't apply because of upstream changes to the file
(flush_alias_page got removed) ... does the problem even still exist
upstream?

James


--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux