[PATCH 3.12 15/27] crash_dump: fix compilation error (on MIPS at least)

From: Greg Kroah-Hartman
Date: Thu Jan 23 2014 - 14:11:42 EST

3.12-stable review patch. If anyone has any objections, please let me know.


From: Qais Yousef <qais.yousef@xxxxxxxxxx>

commit 5a610fcc7390ee60308deaf09426ada87a1eeec2 upstream.

In file included from kernel/crash_dump.c:2:0:
include/linux/crash_dump.h:22:27: error: unknown type name `pgprot_t'


The error was traced back to commit 9cb218131de1 ("vmcore: introduce

include <asm/pgtable.h> to get the missing definition

Signed-off-by: Qais Yousef <qais.yousef@xxxxxxxxxx>
Reviewed-by: James Hogan <james.hogan@xxxxxxxxxx>
Cc: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>
Acked-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

include/linux/crash_dump.h | 2 ++
1 file changed, 2 insertions(+)

--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -6,6 +6,8 @@
#include <linux/proc_fs.h>
#include <linux/elf.h>

+#include <asm/pgtable.h> /* for pgprot_t */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/