Skip to content
  • Roland McGrath's avatar
    x86: fix iret exception recovery on 64-bit · a57dae3a
    Roland McGrath authored
    This change broke recovery of exceptions in iret:
    
       commit 72fe4858
    
    
       Author: Glauber de Oliveira Costa <gcosta@redhat.com>
    
           x86: replace privileged instructions with paravirt macros
    
    The ENTRY(native_iret) macro adds alignment padding before the iretq
    instruction, so "iret_label" no longer points exactly at the instruction.
    It was sloppy to leave the old "iret_label" label behind when replacing
    its nearby use.  Removing it would have revealed the other use of the
    label later in the file, and upon noticing that use, anyone exercising
    the minimum of attention to detail expected of anyone touching this
    subtle code would realize it needed to change as well.
    
    Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    a57dae3a