From: EUNBONG SONG <eunb.song@samsung.com>
To: "ralf@linux-mips.org" <ralf@linux-mips.org>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
lars@metafoo.de
Subject: [PATCH ] MIPS: Fix build error crash_dump.c file.
Date: Thu, 02 May 2013 08:25:53 +0000 (GMT) [thread overview]
Message-ID: <417838.192431367483152638.JavaMail.weblogic@epv6ml12> (raw)
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'
cc1: warnings being treated as errors
arch/mips/kernel/crash_dump.c:67: error: assignment makes pointer from integer without a cast
make[3]: *** [arch/mips/kernel/crash_dump.o] Error 1
make[2]: *** [arch/mips/kernel] Error 2
make[1]: *** [arch/mips] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/sys.o
CC kernel/module.o
GZIP kernel/config_data.gz
CHK kernel/config_data.h
LD kernel/built-in.o
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
WARNING: multiple messages have this Message-ID (diff)
From: EUNBONG SONG <eunb.song@samsung.com>
To: "ralf@linux-mips.org" <ralf@linux-mips.org>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
lars@metafoo.de
Subject: [PATCH ] MIPS: Fix build error crash_dump.c file.
Date: Thu, 02 May 2013 08:25:53 +0000 (GMT) [thread overview]
Message-ID: <417838.192431367483152638.JavaMail.weblogic@epv6ml12> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 1344 bytes --]
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'
cc1: warnings being treated as errors
arch/mips/kernel/crash_dump.c:67: error: assignment makes pointer from integer without a cast
make[3]: *** [arch/mips/kernel/crash_dump.o] Error 1
make[2]: *** [arch/mips/kernel] Error 2
make[1]: *** [arch/mips] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/sys.o
CC kernel/module.o
GZIP kernel/config_data.gz
CHK kernel/config_data.h
LD kernel/built-in.o
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
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next reply other threads:[~2013-05-02 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 8:25 EUNBONG SONG [this message]
2013-05-02 8:25 ` [PATCH ] MIPS: Fix build error crash_dump.c file EUNBONG SONG
-- strict thread matches above, loose matches on Subject: below --
2013-05-02 8:00 [PATCH] " EUNBONG SONG
2013-05-02 8:00 ` EUNBONG SONG
2013-05-02 8:03 ` Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=417838.192431367483152638.JavaMail.weblogic@epv6ml12 \
--to=eunb.song@samsung.com \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.