Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756055AbbDITbL (ORCPT ); Thu, 9 Apr 2015 15:31:11 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:34683 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933003AbbDITbI (ORCPT ); Thu, 9 Apr 2015 15:31:08 -0400 Date: Thu, 9 Apr 2015 12:31:05 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Arnd Bergmann cc: Andrew Morton , Andrey Ryabinin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] mempool: add missing include In-Reply-To: <3302342.cNyRUGN06P@wuerfel> Message-ID: References: <3302342.cNyRUGN06P@wuerfel> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 On Thu, 9 Apr 2015, Arnd Bergmann wrote: > This is a fix^3 for the mempool poisoning patch, which introduces > a compile-time error on some ARM randconfig builds: > > mm/mempool.c: In function 'check_element': > mm/mempool.c:65:16: error: implicit declaration of function 'kmap_atomic' [-Werror=implicit-function-declaration] > void *addr = kmap_atomic((struct page *)element); > > The problem is clearly the missing declaration, and including > linux/highmem.h fixes it. > > Signed-off-by: Arnd Bergmann > Fixes: a3db5a8463b0db ("mm, mempool: poison elements backed by page allocator fix fix") Acked-by: David Rientjes Thanks! Can you confirm that this is because CONFIG_BLOCK is disabled and not something else? -- 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/