Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] mips: fix build error for crash_dump.c in 3.10-rc1
@ 2013-05-13  1:16 EUNBONG SONG
  0 siblings, 0 replies; only message in thread
From: EUNBONG SONG @ 2013-05-13  1:16 UTC (permalink / raw)
  To: ralf@linux-mips.org
  Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org


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>
---
 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)
 {
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-13  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13  1:16 [PATCH] mips: fix build error for crash_dump.c in 3.10-rc1 EUNBONG SONG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox