From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnqlo-0001jI-AZ for barebox@lists.infradead.org; Thu, 09 Aug 2018 19:38:54 +0000 Date: Thu, 9 Aug 2018 21:38:39 +0200 From: Sascha Hauer Message-ID: <20180809193839.lqtaurzxn62emuhg@pengutronix.de> References: <20180730111437.23453-1-r.hieber@pengutronix.de> <20180730111437.23453-4-r.hieber@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180730111437.23453-4-r.hieber@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 4/4] linux/types.h: fix missing include for BITS_TO_LONGS() To: Roland Hieber Cc: barebox@lists.infradead.org On Mon, Jul 30, 2018 at 01:14:37PM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > include/linux/types.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/types.h b/include/linux/types.h > index f64ec4a814..44d8238d53 100644 > --- a/include/linux/types.h > +++ b/include/linux/types.h > @@ -2,6 +2,7 @@ > #define _LINUX_TYPES_H > > #include > +#include > #include This breaks compilation on ppc. Here linux/bitops.h includes files which use types (__be32 and friends) which are declared later in include/linux/types.h. Why specifically is this patch needed? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox