[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f3bdaf8-bc9b-1dc9-b06c-e670a906dc1b@huawei.com>
Date: Fri, 7 Jun 2024 15:00:07 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Matthew Wilcox <willy@...radead.org>
CC: <akpm@...ux-foundation.org>, <tony.luck@...el.com>, <bp@...en8.de>,
<nao.horiguchi@...il.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, <linux-edac@...r.kernel.org>
Subject: Re: [PATCH v2 10/13] mm/memory-failure: move some function
declarations into internal.h
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.
.
Powered by blists - more mailing lists