• Linus Torvalds's avatar
    Merge tag 'x86-asm-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 106b88d7
    Linus Torvalds authored
    Pull x86 asm updates from Ingo Molnar:
     "Replace magic numbers in GDT descriptor definitions & handling:
    
       - Introduce symbolic names via macros for descriptor
         types/fields/flags, and then use these symbolic names.
    
       - Clean up definitions a bit, such as GDT_ENTRY_INIT()
    
       - Fix/clean up details that became visibly inconsistent after the
         symbol-based code was introduced:
    
          - Unify accessed flag handling
    
          - Set the D/B size flag consistently & according to the HW
            specification"
    
    * tag 'x86-asm-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/asm: Add DB flag to 32-bit percpu GDT entry
      x86/asm: Always set A (accessed) flag in GDT descriptors
      x86/asm: Replace magic numbers in GDT descriptors, script-generated change
      x86/asm: Replace magic numbers in GDT descriptors, preparations
      x86/asm: Provide new infrastructure for GDT descriptors
    106b88d7
common.c 64.8 KB