• Borislav Petkov's avatar
    x86/asm, x86/acpi/wakeup_64.S: Make global label a local one · c0f6feba
    Borislav Petkov authored
    Make it a local symbol so that it doesn't appear in objdump
    output.
    
    No functionality change - code remains the same, just the global
    label disappears:
    
    	 ffffffff81039dbe:       bf 03 00 00 00          mov    $0x3,%edi
    	 ffffffff81039dc3:       31 c0                   xor    %eax,%eax
    	 ffffffff81039dc5:       e8 b6 fd ff ff          callq  ffffffff81039b80 <x86_acpi_enter_sleep_state>
    	-ffffffff81039dca:       eb 00                   jmp    ffffffff81039dcc <resume_point>
    	-
    	-ffffffff81039dcc <resume_point>:
    	+ffffffff81039dca:       eb 00                   jmp    ffffffff81039dcc <do_suspend_lowlevel+0x9c>
    	 ffffffff81039dcc:       48 c7 c0 80 1a ca 82    mov    $0xffffffff82ca1a80,%rax
    	 ffffffff81039dd3:       48 8b 98 e2 00 00 00    mov    0xe2(%rax),%rbx
    	 ffffffff81039dda:       0f 22 e3                mov    %rbx,%cr4
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: <linux-pm@vger.kernel.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Len Brown <len.brown@intel.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1429080614-22610-1-git-send-email-bp@alien8.deSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    c0f6feba
wakeup_64.S 2.67 KB