Commit 819403c
fs/proc/vmcore: move vmcore definitions out of kcore.h
These vmcore defines are not related to /proc/kcore, move them out.
We'll move "struct vmcoredd_node" to vmcore.c, because it is only used
internally. While "struct vmcore" is only used internally for now,
we're planning on using it from inline functions in crash_dump.h next,
so move it to crash_dump.h.
While at it, rename "struct vmcore" to "struct vmcore_range", which is a
more suitable name and will make the usage of it outside of vmcore.c
clearer.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20241204125444.1734652-6-david@redhat.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>1 parent 8e38695 commit 819403c
3 files changed
Lines changed: 23 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
322 | 328 | | |
323 | 329 | | |
324 | 330 | | |
| 331 | + | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
328 | | - | |
329 | 335 | | |
330 | 336 | | |
331 | 337 | | |
| |||
580 | 586 | | |
581 | 587 | | |
582 | 588 | | |
583 | | - | |
| 589 | + | |
584 | 590 | | |
585 | 591 | | |
586 | 592 | | |
| |||
703 | 709 | | |
704 | 710 | | |
705 | 711 | | |
706 | | - | |
| 712 | + | |
707 | 713 | | |
708 | | - | |
| 714 | + | |
709 | 715 | | |
710 | 716 | | |
711 | 717 | | |
712 | 718 | | |
713 | 719 | | |
| 720 | + | |
714 | 721 | | |
715 | | - | |
716 | 722 | | |
717 | 723 | | |
718 | 724 | | |
| |||
1110 | 1116 | | |
1111 | 1117 | | |
1112 | 1118 | | |
| 1119 | + | |
1113 | 1120 | | |
1114 | 1121 | | |
1115 | 1122 | | |
1116 | 1123 | | |
1117 | | - | |
1118 | 1124 | | |
1119 | 1125 | | |
1120 | 1126 | | |
| |||
1153 | 1159 | | |
1154 | 1160 | | |
1155 | 1161 | | |
| 1162 | + | |
1156 | 1163 | | |
1157 | 1164 | | |
1158 | 1165 | | |
1159 | 1166 | | |
1160 | | - | |
1161 | 1167 | | |
1162 | 1168 | | |
1163 | 1169 | | |
| |||
1195 | 1201 | | |
1196 | 1202 | | |
1197 | 1203 | | |
| 1204 | + | |
1198 | 1205 | | |
1199 | | - | |
1200 | 1206 | | |
1201 | 1207 | | |
1202 | 1208 | | |
| |||
1605 | 1611 | | |
1606 | 1612 | | |
1607 | 1613 | | |
1608 | | - | |
| 1614 | + | |
1609 | 1615 | | |
1610 | | - | |
| 1616 | + | |
1611 | 1617 | | |
1612 | 1618 | | |
1613 | 1619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 23 | | |
37 | 24 | | |
38 | 25 | | |
| |||
0 commit comments