From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by kanga.kvack.org (Postfix) with ESMTP id B11BB90008B for ; Thu, 30 Oct 2014 04:47:22 -0400 (EDT) Received: by mail-lb0-f181.google.com with SMTP id w7so3792520lbi.40 for ; Thu, 30 Oct 2014 01:47:21 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id b8si11013696lbc.7.2014.10.30.01.47.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 01:47:20 -0700 (PDT) From: Michal Hocko Subject: [PATCH] mm-cma-make-kmemleak-ignore-cma-regions-fix Date: Thu, 30 Oct 2014 09:47:04 +0100 Message-Id: <1414658824-16480-1-git-send-email-mhocko@suse.cz> In-Reply-To: <54515a25.46WrYSce5BExT3V4%akpm@linux-foundation.org> References: <54515a25.46WrYSce5BExT3V4%akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Thierry Reding , Michal Nazarewicz , Marek Szyprowski , Joonsoo Kim , "Aneesh Kumar K.V" , Catalin Marinas , mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au include linux/io.h to get phys_to_virt declaration and fix the following compile error: mm/cma.c:288:4: error: implicit declaration of function a??phys_to_virta?? [-Werror=implicit-function-declaration] kmemleak_ignore(phys_to_virt(addr)); Signed-off-by: Michal Hocko --- mm/cma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/cma.c b/mm/cma.c index 9bc687a20495..daec407d1057 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -33,6 +33,7 @@ #include #include #include +#include struct cma { unsigned long base_pfn; -- 2.1.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org