Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186270

Re: next-20150716 build: 4 failures 88 warnings (next-20150716)

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: next-20150716 build: 4 failures 88 warnings (next-20150716)
Date 2015-07-16 23:30 +0200
Message-ID <pMYT8-1RA-13@gated-at.bofh.it> (permalink)
References <pMRHY-8l1-5@gated-at.bofh.it> <pMRHY-8l1-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 16 Jul 2015 14:41:52 +0100 Mark Brown <broonie@kernel.org> wrote:

> On Thu, Jul 16, 2015 at 11:05:11AM +0100, Build bot for Mark Brown wrote:
> 
> Today's linux-next fails to build an arm64 allnoconfig due to "mm: make
> GUP handle pfn mapping unless FOLL_GET is requested" which causes:
> 
> > 	arm64-allnoconfig
> > ../mm/gup.c:51:4: error: implicit declaration of function 'update_mmu_cache' [-Werror=implicit-function-declaration]
> 
> The update_mmu_cache() function is defined unconditionally in
> asm/tlbflush.h so there is presumably some path of conditional
> inclusions which causes it not to get declared in an allnoconfig - I
> didn't chase that down yet.

I did te obvious:

--- a/mm/gup.c~mm-make-gup-handle-pfn-mapping-unless-foll_get-is-requested-fix
+++ a/mm/gup.c
@@ -12,7 +12,9 @@
 #include <linux/sched.h>
 #include <linux/rwsem.h>
 #include <linux/hugetlb.h>
+
 #include <asm/pgtable.h>
+#include <asm/tlbflush.h>
 
 #include "internal.h"
 

I don't have arm64 toolchain here, but it fixed the error on arm and
that's what mm/memory.c does.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: next-20150716 build: 4 failures 88 warnings (next-20150716) Andrew Morton <akpm@linux-foundation.org> - 2015-07-16 23:30 +0200

csiph-web