diff options
author | EunBong Song <eunb.song@samsung.com> | 2013-05-13 00:16:55 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-17 20:36:02 +0200 |
commit | e84ff42500a2b909d8aaca9a6df84c0616df121f (patch) | |
tree | 4002d6ab18b6b2e56bf2d86813adbec6c9f71caa | |
parent | bda97ed39b075e8ac125d4af7cdf60ca19449a16 (diff) | |
download | op-kernel-dev-e84ff42500a2b909d8aaca9a6df84c0616df121f.zip op-kernel-dev-e84ff42500a2b909d8aaca9a6df84c0616df121f.tar.gz |
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>
-rw-r--r-- | arch/mips/kernel/crash_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/crash_dump.c b/arch/mips/kernel/crash_dump.c index 35bed0d..3be9e7b 100644 --- a/arch/mips/kernel/crash_dump.c +++ b/arch/mips/kernel/crash_dump.c @@ -2,6 +2,7 @@ #include <linux/bootmem.h> #include <linux/crash_dump.h> #include <asm/uaccess.h> +#include <linux/slab.h> static int __init parse_savemaxmem(char *p) { |