lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch] x86: add missing annotation to arch/x86/lib/copy_user_64.S::copy_to_user
From
Date

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>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Alexander van Heukelum <heukelum@fastmail.fm>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
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)



\
 
 \ /
  Last update: 2009-07-02 07:29    [W:0.041 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site