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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]> 

> ---
> --- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux