summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:15:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:16:12 +0100
commit3c0e5afc5ad478fe6911ccf2d24a6a7021fef3da (patch)
tree8f09a77266557fa32af4a898765145b1d0edef82
parent607496b38ca27e194fb587d9b75b4c2027631f41 (diff)
downloadbarebox-3c0e5afc5ad478fe6911ccf2d24a6a7021fef3da.tar.gz
barebox-3c0e5afc5ad478fe6911ccf2d24a6a7021fef3da.tar.xz
x86: Add missing typedef for umode_t
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/x86/include/asm/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index d60612ff74..7349ba03c2 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -41,6 +41,8 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
+typedef unsigned short umode_t;
+
#include <asm-generic/bitsperlong.h>
#endif /* __ASSEMBLY__ */