diff options
author | 2020-10-12 13:01:37 +0200 | |
---|---|---|
committer | 2020-10-12 13:01:37 +0200 | |
commit | 70333f4ff9c16dd82a2667080c3ae48fe30a3cb4 (patch) | |
tree | df9a785cca8bd73c1a1962c2cc66b1702d9a4ebd /include/linux/crash_core.h | |
parent | printk: Use fallthrough pseudo-keyword (diff) | |
parent | printk: reduce setup_text_buf size to LOG_LINE_MAX (diff) | |
download | wireguard-linux-70333f4ff9c16dd82a2667080c3ae48fe30a3cb4.tar.xz wireguard-linux-70333f4ff9c16dd82a2667080c3ae48fe30a3cb4.zip |
Merge branch 'printk-rework' into for-linus
Diffstat (limited to 'include/linux/crash_core.h')
-rw-r--r-- | include/linux/crash_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/crash_core.h b/include/linux/crash_core.h index 525510a9f965..43b51c9df571 100644 --- a/include/linux/crash_core.h +++ b/include/linux/crash_core.h @@ -53,6 +53,9 @@ phys_addr_t paddr_vmcoreinfo_note(void); #define VMCOREINFO_OFFSET(name, field) \ vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ (unsigned long)offsetof(struct name, field)) +#define VMCOREINFO_TYPE_OFFSET(name, field) \ + vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ + (unsigned long)offsetof(name, field)) #define VMCOREINFO_LENGTH(name, value) \ vmcoreinfo_append_str("LENGTH(%s)=%lu\n", #name, (unsigned long)value) #define VMCOREINFO_NUMBER(name) \ |