diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-05-07 11:52:32 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-08 11:45:26 +0200 |
commit | e814d826dc1821dbce3aa1ddb7f2f739f420ffd8 (patch) | |
tree | 7e1545203bdb7747ac6f3c4b096ea8081163d480 /arch/arm/lib/copy_to_user.S | |
parent | ARM: 6112/1: Use the Inner Shareable I-cache and BTB ops on ARMv7 SMP (diff) | |
download | linux-e814d826dc1821dbce3aa1ddb7f2f739f420ffd8.tar.xz linux-e814d826dc1821dbce3aa1ddb7f2f739f420ffd8.zip |
ARM: 6110/1: Fix Thumb-2 kernel builds when UACCESS_WITH_MEMCPY is enabled
The patch adds the ENDPROC declarations for the __copy_to_user_std and
__clear_user_std functions. Without these, the compiler generates BXL to
ARM when compiling the kernel in Thumb-2 mode.
Reported-by: Kyungmin Park <kmpark@infradead.org>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/copy_to_user.S')
-rw-r--r-- | 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 027b69bdbad1..d066df686e17 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) .pushsection .fixup,"ax" .align 0 |