[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180220152148.2a3ff03d3c8aa6ade8cbae25@linux-foundation.org>
Date: Tue, 20 Feb 2018 15:21:48 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: kbuild test robot <lkp@...el.com>
Cc: Juergen Gross <jgross@...e.com>, kbuild-all@...org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
xen-devel@...ts.xenproject.org, mhocko@...e.com,
stable@...r.kernel.org
Subject: Re: [PATCH] mm: don't defer struct page initialization for Xen pv
guests
On Mon, 19 Feb 2018 02:45:27 +0800 kbuild test robot <lkp@...el.com> wrote:
> [auto build test ERROR on mmotm/master]
> [also build test ERROR on v4.16-rc1 next-20180216]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Juergen-Gross/mm-don-t-defer-struct-page-initialization-for-Xen-pv-guests/20180218-233657
> base: git://git.cmpxchg.org/linux-mmotm.git master
> config: i386-randconfig-x010-201807 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> mm/page_alloc.c: In function 'update_defer_init':
> >> mm/page_alloc.c:352:6: error: implicit declaration of function 'xen_pv_domain' [-Werror=implicit-function-declaration]
> if (xen_pv_domain())
> ^~~~~~~~~~~~~
I think I already fixed this.
From: Andrew Morton <akpm@...ux-foundation.org>
Subject: mm-dont-defer-struct-page-initialization-for-xen-pv-guests-fix
explicitly include xen.h
Cc: Juergen Gross <jgross@...e.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
mm/page_alloc.c | 1 +
1 file changed, 1 insertion(+)
diff -puN mm/page_alloc.c~mm-dont-defer-struct-page-initialization-for-xen-pv-guests-fix mm/page_alloc.c
--- a/mm/page_alloc.c~mm-dont-defer-struct-page-initialization-for-xen-pv-guests-fix
+++ a/mm/page_alloc.c
@@ -46,6 +46,7 @@
#include <linux/stop_machine.h>
#include <linux/sort.h>
#include <linux/pfn.h>
+#include <xen/xen.h>
#include <linux/backing-dev.h>
#include <linux/fault-inject.h>
#include <linux/page-isolation.h>
_
Powered by blists - more mailing lists