[PATCH 1/4] include linux/compiler.h in linux/unaligned/generic.h
Sascha Hauer
s.hauer at pengutronix.de
Sun Feb 4 23:34:38 PST 2018
On Thu, Feb 01, 2018 at 11:46:11AM +0100, Philipp Zabel wrote:
> Without this include, the __force macro used in this header may be
> undefined.
>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
I hope it's worth adding yet another compression algorithm. I've yet to
see anything better than LZO for most embedded devices.
Anyway, applied, thanks
Sascha
> ---
> include/linux/unaligned/generic.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/unaligned/generic.h b/include/linux/unaligned/generic.h
> index 02d97ff3df..43d5f2af24 100644
> --- a/include/linux/unaligned/generic.h
> +++ b/include/linux/unaligned/generic.h
> @@ -1,6 +1,8 @@
> #ifndef _LINUX_UNALIGNED_GENERIC_H
> #define _LINUX_UNALIGNED_GENERIC_H
>
> +#include <linux/compiler.h>
> +
> /*
> * Cause a link-time error if we try an unaligned access other than
> * 1,2,4 or 8 bytes long
> --
> 2.15.1
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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 |
More information about the barebox
mailing list