Re: [PATCH 4/4] linux/types.h: fix missing include for BITS_TO_LONGS()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 30, 2018 at 01:14:37PM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <r.hieber@xxxxxxxxxxxxxx>
> ---
>  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 <linux/posix_types.h>
> +#include <linux/bitops.h>
>  #include <asm/types.h>

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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux