summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2018-02-01 11:46:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-05 08:29:52 +0100
commit019e11e601dc42124511ca9a0eeb7469d6b5cc08 (patch)
tree090417b0b87053f460750a7a4e32bc482641024d /include
parent6c2e0f6c748eeaa231e1f23439c3a68bd401ea37 (diff)
downloadbarebox-019e11e601dc42124511ca9a0eeb7469d6b5cc08.tar.gz
barebox-019e11e601dc42124511ca9a0eeb7469d6b5cc08.tar.xz
include linux/compiler.h in linux/unaligned/generic.h
Without this include, the __force macro used in this header may be undefined. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/unaligned/generic.h2
1 files changed, 2 insertions, 0 deletions
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