powerpc: Fix BUG/WARN macros for 64-bit
authorPaul Mackerras <paulus@samba.org>
Tue, 1 Nov 2005 10:54:38 +0000 (21:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Nov 2005 10:54:38 +0000 (21:54 +1100)
commit89003ebf9e6a9ccb2327caf72955edd86b274c14
treeb4e7ff84b1b0aa0adccfac237981e45ea371553a
parenta0e60b2033b30a6bb8479629001cf98e58e4079a
powerpc: Fix BUG/WARN macros for 64-bit

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: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/bug.h