linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: Declare __copy_to_user_std as a function using ENDPROC
@ 2010-05-06 14:12 Catalin Marinas
  2010-05-06 17:35 ` Nicolas Pitre
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2010-05-06 14:12 UTC (permalink / raw)
  To: linux-arm-kernel

This is needed for Thumb-2 kernel builds, otherwise the compiler
generates branches into ARM mode to this function.

Reported-by: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
---
 arch/arm/lib/copy_to_user.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/copy_to_user.S b/arch/arm/lib/copy_to_user.S
index 1a71e15..5941fbc 100644
--- a/arch/arm/lib/copy_to_user.S
+++ b/arch/arm/lib/copy_to_user.S
@@ -93,6 +93,7 @@ WEAK(__copy_to_user)
 #include "copy_template.S"
 
 ENDPROC(__copy_to_user)
+ENDPROC(__copy_to_user_std)
 
 	.section .fixup,"ax"
 	.align 0

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

end of thread, other threads:[~2010-05-07  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 14:12 [PATCH] ARM: Declare __copy_to_user_std as a function using ENDPROC Catalin Marinas
2010-05-06 17:35 ` Nicolas Pitre
2010-05-07  1:48   ` Kyungmin Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).