From 607496b38ca27e194fb587d9b75b4c2027631f41 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 1 Feb 2016 09:14:02 +0100 Subject: nios2: Add missing typedef for umode_t Signed-off-by: Sascha Hauer --- arch/nios2/include/asm/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/nios2/include/asm/types.h b/arch/nios2/include/asm/types.h index 0067ea83c1..710ee55796 100644 --- a/arch/nios2/include/asm/types.h +++ b/arch/nios2/include/asm/types.h @@ -3,4 +3,6 @@ #include +typedef unsigned short umode_t; + #endif -- cgit v1.2.3 From 3c0e5afc5ad478fe6911ccf2d24a6a7021fef3da Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 1 Feb 2016 09:15:52 +0100 Subject: x86: Add missing typedef for umode_t Signed-off-by: Sascha Hauer --- arch/x86/include/asm/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') 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 #endif /* __ASSEMBLY__ */ -- cgit v1.2.3