• Paul Mackerras's avatar
    powerpc: Fix BUG/WARN macros for 64-bit · 89003ebf
    Paul Mackerras authored
    The bug_entry struct had an int in the middle of pointers and unsigned
    longs, and the inline asm that generated the bug table entries didn't
    insert the necessary padding, so the fields following it didn't get
    initialized properly and an oops resulted.  This changes the int field
    (the line number) to a long so that all the fields are the same size
    and no padding is required.
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    89003ebf
bug.h 2.1 KB