Linux PARISC architecture development
 help / color / mirror / Atom feed
* [PARISC] fix pacache .size with new binutils
@ 2011-03-21 20:18 Meelis Roos
  2011-03-21 20:31 ` James Bottomley
  0 siblings, 1 reply; 6+ messages in thread
From: Meelis Roos @ 2011-03-21 20:18 UTC (permalink / raw)
  To: linux-parisc

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@linux.ee>

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

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

end of thread, other threads:[~2011-03-22  1:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 20:18 [PARISC] fix pacache .size with new binutils Meelis Roos
2011-03-21 20:31 ` James Bottomley
2011-03-21 20:47   ` Meelis Roos
2011-03-21 20:49   ` Meelis Roos
2011-03-21 20:51     ` James Bottomley
2011-03-22  1:21   ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox