mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
x86/asm/32: Change all ENTRY+END to SYM_CODE_*
Change all assembly code which is marked using END (and not ENDPROC) to appropriate new markings SYM_CODE_START and SYM_CODE_END. And since the last user of END on X86 is gone now, make sure that END is not defined there. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> 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: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20191011115108.12392-27-jslaby@suse.cz
This commit is contained in:
parent
78762b0e79
commit
5e63306f16
3 changed files with 58 additions and 56 deletions
|
@ -129,11 +129,13 @@
|
|||
SYM_FUNC_START_WEAK(name)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_X86
|
||||
#ifndef END
|
||||
/* deprecated, use SYM_FUNC_END, SYM_DATA_END, or SYM_END */
|
||||
#define END(name) \
|
||||
.size name, .-name
|
||||
#endif
|
||||
#endif /* CONFIG_X86 */
|
||||
|
||||
#ifndef CONFIG_X86_64
|
||||
/* If symbol 'name' is treated as a subroutine (gets called, and returns)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue