ARM: 6110/1: Fix Thumb-2 kernel builds when UACCESS_WITH_MEMCPY is enabled
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 May 2010 09:52:32 +0000 (10:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 8 May 2010 09:45:26 +0000 (10:45 +0100)
commite814d826dc1821dbce3aa1ddb7f2f739f420ffd8
tree7e1545203bdb7747ac6f3c4b096ea8081163d480
parentb8349b569aae661dea9d59d7d2ee587ccea3336c
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>
arch/arm/lib/clear_user.S
arch/arm/lib/copy_to_user.S