diff options
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index 2d9c448d8c52..39112a0e4693 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h | |||
@@ -131,10 +131,10 @@ unsigned long paddr_vmcoreinfo_note(void); | |||
131 | vmcoreinfo_append_str("SYMBOL(%s)=%lx\n", #name, (unsigned long)&name) | 131 | vmcoreinfo_append_str("SYMBOL(%s)=%lx\n", #name, (unsigned long)&name) |
132 | #define VMCOREINFO_SIZE(name) \ | 132 | #define VMCOREINFO_SIZE(name) \ |
133 | vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ | 133 | vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ |
134 | (unsigned long)sizeof(struct name)) | ||
135 | #define VMCOREINFO_TYPEDEF_SIZE(name) \ | ||
136 | vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ | ||
137 | (unsigned long)sizeof(name)) | 134 | (unsigned long)sizeof(name)) |
135 | #define VMCOREINFO_STRUCT_SIZE(name) \ | ||
136 | vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ | ||
137 | (unsigned long)sizeof(struct name)) | ||
138 | #define VMCOREINFO_OFFSET(name, field) \ | 138 | #define VMCOREINFO_OFFSET(name, field) \ |
139 | vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ | 139 | vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ |
140 | (unsigned long)&(((struct name *)0)->field)) | 140 | (unsigned long)&(((struct name *)0)->field)) |