Re: [-mm patch] make cmdline_parse_kernelcore() static

From: Mel Gorman
Date: Tue Jun 12 2007 - 08:52:29 EST


On (12/06/07 13:07), Adrian Bunk didst pronounce:
> cmdline_parse_kernelcore() can become static.
>

Agreed. I would consider this a fix to handle-kernelcore=-generic.patch

Thanks Adrian

Acked-by: Mel Gorman <mel@xxxxxxxxx>

> ---
> --- linux-2.6.22-rc4-mm2/mm/page_alloc.c.old 2007-06-12 02:10:56.000000000 +0200
> +++ linux-2.6.22-rc4-mm2/mm/page_alloc.c 2007-06-12 02:11:08.000000000 +0200
> @@ -3879,7 +3879,7 @@
> * kernelcore=size sets the amount of memory for use for allocations that
> * cannot be reclaimed or migrated.
> */
> -int __init cmdline_parse_kernelcore(char *p)
> +static int __init cmdline_parse_kernelcore(char *p)
> {
> unsigned long long coremem;
> if (!p)

--
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/