Commit e84ff42500a2b909d8aaca9a6df84c0616df121f

Authored by EunBong Song
Committed by Ralf Baechle
1 parent bda97ed39b

MIPS: Fix build error for crash_dump.c in 3.10-rc1

This patch fixes crash_dump.c build error. Build error logs are as follow.

arch/mips/kernel/crash_dump.c: In function 'kdump_buf_page_init':
arch/mips/kernel/crash_dump.c:67: error: implicit declaration of function 'kmalloc'
arch/mips/kernel/crash_dump.c:67: error: assignment makes pointer from integer without a cast

Signed-off-by: EunBong Song <eunb.song@samsung.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5238/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/mips/kernel/crash_dump.c
... ... @@ -2,6 +2,7 @@
2 2 #include <linux/bootmem.h>
3 3 #include <linux/crash_dump.h>
4 4 #include <asm/uaccess.h>
  5 +#include <linux/slab.h>
5 6  
6 7 static int __init parse_savemaxmem(char *p)
7 8 {