projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e5ac2
)
crash_dump: fix compilation error (on MIPS at least)
author
Qais Yousef
<
[email protected]
>
Wed, 15 Jan 2014 01:56:41 +0000
(17:56 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 15 Jan 2014 07:19:42 +0000
(14:19 +0700)
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 <asm/pgtable.h> to get the missing definition
Signed-off-by: Qais Yousef <
[email protected]
>
Reviewed-by: James Hogan <
[email protected]
>
Cc: Michael Holzheu <
[email protected]
>
Acked-by: Vivek Goyal <
[email protected]
>
Cc: <
[email protected]
> [3.12+]
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/crash_dump.h
patch
|
blob
|
history
diff --git
a/include/linux/crash_dump.h
b/include/linux/crash_dump.h
index fe68a5a985831eca65d3880fb69094fbb91dbde0..7032518f85424bb081d9f6a713fec67d45873d77 100644
(file)
--- 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 */
+
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_ERR (-2ULL)