Re: [PATCH v2 10/13] mm/memory-failure: move some function declarations into internal.h

From: Miaohe Lin
Date: Fri Jun 07 2024 - 03:00:26 EST


On 2024/6/7 11:47, Matthew Wilcox wrote:
> On Thu, Jun 06, 2024 at 02:32:44PM +0800, Miaohe Lin wrote:
>> +++ b/mm/internal.h
>> @@ -1077,6 +1077,16 @@ extern u64 hwpoison_filter_flags_mask;
>> extern u64 hwpoison_filter_flags_value;
>> extern u64 hwpoison_filter_memcg;
>> extern u32 hwpoison_filter_enable;
>> +#define MAGIC_HWPOISON 0x48575053U /* HWPS */
>> +extern void SetPageHWPoisonTakenOff(struct page *page);
>> +extern void ClearPageHWPoisonTakenOff(struct page *page);
>> +extern bool take_page_off_buddy(struct page *page);
>> +extern bool put_page_back_buddy(struct page *page);
>
> s/extern// for function declarations.

Will do in next version.
Thanks.
.