Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbbLJM04 (ORCPT ); Thu, 10 Dec 2015 07:26:56 -0500 Received: from mail-qg0-f44.google.com ([209.85.192.44]:32945 "EHLO mail-qg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753095AbbLJM0y (ORCPT ); Thu, 10 Dec 2015 07:26:54 -0500 MIME-Version: 1.0 X-Originating-IP: [212.159.75.221] In-Reply-To: <9558837.lN284KClUg@wuerfel> References: <87io4hi06n.fsf@rasmusvillemoes.dk> <1449242195-16374-1-git-send-email-vbabka@suse.cz> <9558837.lN284KClUg@wuerfel> Date: Thu, 10 Dec 2015 12:26:53 +0000 X-Google-Sender-Auth: 5iysy4A46BCqGwu7Nqs81kuQFwg Message-ID: Subject: Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags From: James Hogan To: Arnd Bergmann Cc: Vlastimil Babka , linux-mm , LKML , Andrew Morton , Joonsoo Kim , Minchan Kim , Sasha Levin , "Kirill A. Shutemov" , Mel Gorman , Michal Hocko , Rasmus Villemoes , metag Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2087 Lines: 57 On 9 December 2015 at 11:29, Arnd Bergmann wrote: > On Friday 04 December 2015 16:16:33 Vlastimil Babka wrote: >> --- a/include/linux/mmdebug.h >> +++ b/include/linux/mmdebug.h >> @@ -2,15 +2,20 @@ >> #define LINUX_MM_DEBUG_H 1 >> >> #include >> +#include >> +#include > > 8<----- > Subject: mm: fix generated/bounds.h > > The inclusion of linux/tracepoint.h is causing build errors for me in ARM > randconfig: > > In file included from /git/arm-soc/include/linux/ktime.h:25:0, > from /git/arm-soc/include/linux/rcupdate.h:47, > from /git/arm-soc/include/linux/tracepoint.h:19, > from /git/arm-soc/include/linux/mmdebug.h:6, > from /git/arm-soc/include/linux/page-flags.h:10, > from /git/arm-soc/kernel/bounds.c:9: > /git/arm-soc/include/linux/jiffies.h:10:33: fatal error: generated/timeconst.h: No such file or directory > compilation terminated. > > To work around this, we can stop including linux/mmdebug.h from linux/page_flags.h > while generating bounds.h, as we do for mm_types.h already. > > Signed-off-by: Arnd Bergmann > Fixes: 8c0d593d0f8f ("mm, printk: introduce new format string for flags") > > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index 19724e6ebd26..4efad0578a28 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flags.h > @@ -7,8 +7,8 @@ > > #include > #include > -#include > #ifndef __GENERATING_BOUNDS_H > +#include > #include > #include > #endif /* !__GENERATING_BOUNDS_H */ Same build issue observed for metag too. Tested-by: James Hogan Cheers James -- 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/