]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/bug: add entry size to the __bug_table section
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Jan 2019 08:29:15 +0000 (09:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 2 May 2019 11:54:11 +0000 (13:54 +0200)
commite21f8baf8d9a452a09a9cf7c8ab4720ff9a891ef
tree905b31bcbe59be06424d8d2579fa8c9c089dee6c
parentbf72630130c29e2ba42e3db8d502de6bdfaa7d9a
s390/bug: add entry size to the __bug_table section

Change the __EMIT_BUG inline assembly to emit mergeable __bug_table
entries with type @progbits and specify the size of each entry.
The entry size is encoded sh_entsize field of the section definition,
it allows to identify which struct bug_entry to use to decode the
entries. This will be needed for the objtool support.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/bug.h