Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964839AbbDIJrc (ORCPT ); Thu, 9 Apr 2015 05:47:32 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:60588 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932477AbbDIJr1 (ORCPT ); Thu, 9 Apr 2015 05:47:27 -0400 From: Arnd Bergmann To: Andrew Morton Cc: David Rientjes , Andrey Ryabinin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] mempool: add missing include Date: Thu, 09 Apr 2015 11:46:55 +0200 Message-ID: <3302342.cNyRUGN06P@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:c7MzCCgCU2B9n2L2ZEiVt9eKxAtgd1CzG+50Krm+TNHCFVJ2C8I MiCMZzEJSWQ7PvfeI3KpnDHCDCraTJ1rSsatAReLSLHBVTmktOKbmaZWhGXvEZWy1B+LMNW pNIHzbbhWyKDsS0huUa5c6a7PxsUbyt2JY+yEaSr5pykbYnkp7qVb275CO0PzQu/s9Nipsn q8YznBu2Csop5guqq59tQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 31 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") diff --git a/mm/mempool.c b/mm/mempool.c index 05ad55e61264..5e7c4a871391 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- 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/