diff options
author | 2020-07-09 15:29:41 +0206 | |
---|---|---|
committer | 2020-07-10 08:47:40 +0200 | |
commit | 0d6f55403a47b317c0d9511a80545c19ab0ef52f (patch) | |
tree | 392fa710b7efde0c2cfa339c51c7d634a9df7ff9 /kernel/printk | |
parent | Revert "kernel/printk: add kmsg SEEK_CUR handling" (diff) | |
download | linux-0d6f55403a47b317c0d9511a80545c19ab0ef52f.tar.gz linux-0d6f55403a47b317c0d9511a80545c19ab0ef52f.tar.bz2 linux-0d6f55403a47b317c0d9511a80545c19ab0ef52f.zip |
crash: add VMCOREINFO macro to define offset in a struct declared by typedef
The existing macro VMCOREINFO_OFFSET() can't be used for structures
declared via typedef because "struct" is not part of type definition.
Create another macro for this purpose.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200709132344.760-2-john.ogness@linutronix.de
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions