[PATCH 1/4] include linux/compiler.h in linux/unaligned/generic.h

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

 



Without this include, the __force macro used in this header may be
undefined.

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
 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@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