From: Qais Yousef Date: Wed, 15 Jan 2014 01:56:41 +0000 (-0800) Subject: crash_dump: fix compilation error (on MIPS at least) X-Git-Tag: v3.13~15^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a610fcc7390ee60308deaf09426ada87a1eeec2;p=platform%2Fkernel%2Flinux-stable.git crash_dump: fix compilation error (on MIPS at least) In file included from kernel/crash_dump.c:2:0: include/linux/crash_dump.h:22:27: error: unknown type name `pgprot_t' when CONFIG_CRASH_DUMP=y The error was traced back to commit 9cb218131de1 ("vmcore: introduce remap_oldmem_pfn_range()") include to get the missing definition Signed-off-by: Qais Yousef Reviewed-by: James Hogan Cc: Michael Holzheu Acked-by: Vivek Goyal Cc: [3.12+] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h index fe68a5a..7032518 100644 --- a/include/linux/crash_dump.h +++ b/include/linux/crash_dump.h @@ -6,6 +6,8 @@ #include #include +#include /* for pgprot_t */ + #define ELFCORE_ADDR_MAX (-1ULL) #define ELFCORE_ADDR_ERR (-2ULL)