Skip to content

Commit fa97220

Browse files
Jiri Slabysuryasaimadhu
authored andcommitted
x86/uaccess: Annotate local function
.Lcopy_user_handle_tail is a self-standing local function, annotate it as such using SYM_CODE_START_LOCAL. Again, no functional change, just documentation. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: linux-arch@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20191011115108.12392-9-jslaby@suse.cz
1 parent deff8a2 commit fa97220

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎arch/x86/lib/copy_user_64.S‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,15 @@ EXPORT_SYMBOL(copy_user_enhanced_fast_string)
230230
* Output:
231231
* eax uncopied bytes or 0 if successful.
232232
*/
233-
ALIGN;
234-
.Lcopy_user_handle_tail:
233+
SYM_CODE_START_LOCAL(.Lcopy_user_handle_tail)
235234
movl %edx,%ecx
236235
1: rep movsb
237236
2: mov %ecx,%eax
238237
ASM_CLAC
239238
ret
240239

241240
_ASM_EXTABLE_UA(1b, 2b)
242-
END(.Lcopy_user_handle_tail)
241+
SYM_CODE_END(.Lcopy_user_handle_tail)
243242

244243
/*
245244
* copy_user_nocache - Uncached memory copy with exception handling

0 commit comments

Comments
 (0)