• Hugh Dickins's avatar
    x86: BUILD_IRQ say .text to avoid .data.percpu · 9d25d4db
    Hugh Dickins authored
    When I edit the x86_64 Makefile to -fno-unit-at-a-time, bootup panics
    on 0xCCs in IRQ0x3e_interrupt(): IRQ0x20_interrupt etc. have got linked
    into .data.percpu.  Perhaps there are other ways of triggering that:
    specify ".text" in the BUILD_IRQ() macro for safety.
    
    I've been using -fno-unit-at-a-time (to lessen inlining, for easier
    debugging) for a long time.
    Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
    Cc: Mike Travis <travis@sgi.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    9d25d4db
irqinit_64.c 5.98 KB