Przeglądaj źródła

x86: Add missing annotation to arch/x86/lib/copy_user_64.S::copy_to_user

While examining symbol generation in perf_counter tools, I
noticed that copy_to_user() had no size in vmlinux's symtab.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <1246512440.13293.3.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Mike Galbraith 16 lat temu
rodzic
commit
3fd382cedf
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      arch/x86/lib/copy_user_64.S

+ 1 - 0
arch/x86/lib/copy_user_64.S

@@ -75,6 +75,7 @@ ENTRY(copy_to_user)
 	jae bad_to_user
 	jae bad_to_user
 	ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,copy_user_generic_unrolled,copy_user_generic_string
 	ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,copy_user_generic_unrolled,copy_user_generic_string
 	CFI_ENDPROC
 	CFI_ENDPROC
+ENDPROC(copy_to_user)
 
 
 /* Standard copy_from_user with segment limit checking */
 /* Standard copy_from_user with segment limit checking */
 ENTRY(copy_from_user)
 ENTRY(copy_from_user)