• Ingo Molnar's avatar
    x86/asm/entry: Untangle 'ia32_sysenter_target' into two entry points:... · 4c8cd0c5
    Ingo Molnar authored
    x86/asm/entry: Untangle 'ia32_sysenter_target' into two entry points: entry_SYSENTER_32 and entry_SYSENTER_compat
    
    So the SYSENTER instruction is pretty quirky and it has different behavior
    depending on bitness and CPU maker.
    
    Yet we create a false sense of coherency by naming it 'ia32_sysenter_target'
    in both of the cases.
    
    Split the name into its two uses:
    
    	ia32_sysenter_target (32)    -> entry_SYSENTER_32
    	ia32_sysenter_target (64)    -> entry_SYSENTER_compat
    
    As per the generic naming scheme for x86 system call entry points:
    
    	entry_MNEMONIC_qualifier
    
    where 'qualifier' is one of _32, _64 or _compat.
    
    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: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    4c8cd0c5
entry_64_compat.S 15.4 KB