RE: [PATCH v2] mips/include/asm/mipsregs.h: include linux/types.h
From: Qais Yousef <hidden>
Date: 2014-03-14 12:08:24
Can we include this patch in the next 3.10 and forward stable releases please? It's already in Linus' tree under commit id: 87c99203fea897fbdd84b681ad9fced2517dcf98 Thanks, Qais
quoted hunk ↗ jump to hunk
-----Original Message----- From: Qais Yousef Sent: 09 December 2013 09:50 To: linux-mips@linux-mips.org Cc: Qais Yousef Subject: [PATCH v2] mips/include/asm/mipsregs.h: include linux/types.h The file uses u16 type but doesn't include its definition explicitly I was getting this error when including this header in my driver: arch/mips/include/asm/mipsregs.h:644:33: error: unknown type name ‘u16’ Signed-off-by: Qais Yousef <redacted> Reviewed-by: Steven J. Hill <redacted> --- changes since v1: - include linux/types.h instead of s/u16/unsigned short/ - amend commit message accordingly arch/mips/include/asm/mipsregs.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)diff --git a/arch/mips/include/asm/mipsregs.hb/arch/mips/include/asm/mipsregs.h index e033141..86479bb 100644--- a/arch/mips/include/asm/mipsregs.h +++ b/arch/mips/include/asm/mipsregs.h@@ -14,6 +14,7 @@ #define _ASM_MIPSREGS_H #include <linux/linkage.h> +#include <linux/types.h> #include <asm/hazards.h> #include <asm/war.h> --1.7.1