From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meelis Roos Subject: [PARISC] fix pacache .size with new binutils Date: Mon, 21 Mar 2011 22:18:56 +0200 (EET) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: linux-parisc@vger.kernel.org Return-path: List-ID: List-Id: linux-parisc.vger.kernel.org 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 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