2013-05-02 08:00:52

by EUNBONG SONG

[permalink] [raw]
Subject: [PATCH] MIPS: Fix build error crash_dump.c file.


This patch fixes crash_dump.c build error.

Signed-off-by: Eunbong Song <[email protected]>
---
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?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?


2013-05-02 08:04:05

by Lars-Peter Clausen

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Fix build error crash_dump.c file.

On 05/02/2013 10:00 AM, EUNBONG SONG wrote:
>
> This patch fixes crash_dump.c build error.
>

When fixing a compile error/warning you should always include the error
message in the commit log.

> Signed-off-by: Eunbong Song <[email protected]>
> ---
> 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)
> {