]> git.baikalelectronics.ru Git - kernel.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)
commitbe928b5c667265dd5d450221f773d55f910d4357
tree905b31bcbe59be06424d8d2579fa8c9c089dee6c
parent55806bc3164cd02336b25d46df2fb89e100760db
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