• Jiri Slaby's avatar
    x86/asm: Make some functions local · ef1e0315
    Jiri Slaby authored
    There are a couple of assembly functions which are invoked only locally
    in the file they are defined. In C, they are marked "static". In
    assembly, annotate them using SYM_{FUNC,CODE}_START_LOCAL (and switch
    their ENDPROC to SYM_{FUNC,CODE}_END too). Whether FUNC or CODE is used,
    depends on whether ENDPROC or END was used for a particular function
    before.
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Andy Lutomirski <luto@kernel.org>
    Cc: Andy Shevchenko <andy@infradead.org>
    Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Cc: Darren Hart <dvhart@infradead.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: linux-arch@vger.kernel.org
    Cc: linux-efi <linux-efi@vger.kernel.org>
    Cc: linux-efi@vger.kernel.org
    Cc: Matt Fleming <matt@codeblueprint.co.uk>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: platform-driver-x86@vger.kernel.org
    Cc: Stefano Stabellini <sstabellini@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: x86-ml <x86@kernel.org>
    Cc: xen-devel@lists.xenproject.org
    Link: https://lkml.kernel.org/r/20191011115108.12392-21-jslaby@suse.cz
    ef1e0315
efi_thunk_64.S 3.1 KB