Skip to contentSkip to conversation

mips: fix build error for crash_dump.c in 3.10-rc1

PATCH New EUNBONG SONG 1 participant 1 message May 13, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 arch/mips/kernel/crash_dump.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/kernel/crash_dump.c +1 -0
index 35bed0d..3be9e7b 100644
@@ -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)
 {
Signature · 2 lines
1.7.0.4
�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�