| From: Andrew Morton <akpm@linux-foundation.org> |
| Subject: mm-dont-include-linux-memremaph-in-linux-mmh-fix |
| |
| fix fx/proc/page.c |
| |
| fs/proc/page.c: In function 'stable_page_flags': |
| fs/proc/page.c:120:13: error: implicit declaration of function 'pfn_zone_device_reserved' [-Werror=implicit-function-declaration] |
| 120 | if (pfn_zone_device_reserved(page_to_pfn(page))) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| |
| Cc: Alex Deucher <alexander.deucher@amd.com> |
| Cc: Alistair Popple <apopple@nvidia.com> |
| Cc: Ben Skeggs <bskeggs@redhat.com> |
| Cc: Chaitanya Kulkarni <kch@nvidia.com> |
| Cc: Christian Knig <christian.koenig@amd.com> |
| Cc: Christoph Hellwig <hch@lst.de> |
| Cc: Dan Williams <dan.j.williams@intel.com> |
| Cc: Felix Kuehling <Felix.Kuehling@amd.com> |
| Cc: Jason Gunthorpe <jgg@nvidia.com> |
| Cc: Karol Herbst <kherbst@redhat.com> |
| Cc: Logan Gunthorpe <logang@deltatee.com> |
| Cc: Lyude Paul <lyude@redhat.com> |
| Cc: Miaohe Lin <linmiaohe@huawei.com> |
| Cc: Muchun Song <songmuchun@bytedance.com> |
| Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com> |
| Cc: Ralph Campbell <rcampbell@nvidia.com> |
| Cc: "Sierra Guiza, Alejandro (Alex)" <alex.sierra@amd.com> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| fs/proc/page.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/fs/proc/page.c~mm-dont-include-linux-memremaph-in-linux-mmh-fix |
| +++ a/fs/proc/page.c |
| @@ -10,6 +10,7 @@ |
| #include <linux/proc_fs.h> |
| #include <linux/seq_file.h> |
| #include <linux/hugetlb.h> |
| +#include <linux/memremap.h> |
| #include <linux/memcontrol.h> |
| #include <linux/mmu_notifier.h> |
| #include <linux/page_idle.h> |
| _ |