File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1220,7 +1220,6 @@ enum compound_dtor_id {
1220
1220
#endif
1221
1221
NR_COMPOUND_DTORS ,
1222
1222
};
1223
- extern compound_page_dtor * const compound_page_dtors [NR_COMPOUND_DTORS ];
1224
1223
1225
1224
static inline void folio_set_compound_dtor (struct folio * folio ,
1226
1225
enum compound_dtor_id compound_dtor )
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ const char * const migratetype_names[MIGRATE_TYPES] = {
284
284
#endif
285
285
};
286
286
287
- compound_page_dtor * const compound_page_dtors [NR_COMPOUND_DTORS ] = {
287
+ static compound_page_dtor * const compound_page_dtors [NR_COMPOUND_DTORS ] = {
288
288
[NULL_COMPOUND_DTOR ] = NULL ,
289
289
[COMPOUND_PAGE_DTOR ] = free_compound_page ,
290
290
#ifdef CONFIG_HUGETLB_PAGE
You can’t perform that action at this time.
0 commit comments