[patch] x86: add missing annotation toarch/x86/lib/copy_user_64.S::copy_to_user

From: Mike Galbraith
Date: Thu Jul 02 2009 - 01:27:33 EST



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@xxxxxx>
Acked-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
LKML-Reference: <new-submission>

---
arch/x86/lib/copy_user_64.S | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6/arch/x86/lib/copy_user_64.S
===================================================================
--- linux-2.6.orig/arch/x86/lib/copy_user_64.S
+++ linux-2.6/arch/x86/lib/copy_user_64.S
@@ -75,6 +75,7 @@ ENTRY(copy_to_user)
jae bad_to_user
ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,copy_user_generic_unrolled,copy_user_generic_string
CFI_ENDPROC
+ENDPROC(copy_to_user)

/* Standard copy_from_user with segment limit checking */
ENTRY(copy_from_user)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/