lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] zone allow unaligned zone boundaries spelling fix
Andy Whitcroft wrote:
> zone allow unaligned zone boundaries spelling fix
>
> When the spelling of boundary was sorted out the config options
> got missed.
>
> Signed-off-by: Andy Whitcroft <apw@shadowen.org>
> ---
> include/linux/mmzone.h | 2 +-
> mm/page_alloc.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
> diff -upN reference/include/linux/mmzone.h current/include/linux/mmzone.h
> --- reference/include/linux/mmzone.h
> +++ current/include/linux/mmzone.h
> @@ -393,7 +393,7 @@ static inline int is_dma(struct zone *zo
>
> static inline unsigned long zone_boundary_align_pfn(unsigned long pfn)
> {
> -#ifdef CONFIG_UNALIGNED_ZONE_BOUNDRIES
> +#ifdef CONFIG_UNALIGNED_ZONE_BOUNDARIES
> return pfn;
> #else
> return pfn & ~((1 << MAX_ORDER) - 1);
> diff -upN reference/mm/page_alloc.c current/mm/page_alloc.c
> --- reference/mm/page_alloc.c
> +++ current/mm/page_alloc.c
> @@ -315,7 +315,7 @@ static inline int page_is_buddy(struct p
> if (!pfn_valid(page_to_pfn(buddy)))
> return 0;
> #endif
> -#ifdef CONFIG_UNALIGNED_ZONE_BOUNDRIES
> +#ifdef CONFIG_UNALIGNED_ZONE_BOUNDARIES
> if (page_zone_id(page) != page_zone_id(buddy))
> return 0;
> #endif
> @@ -2232,7 +2232,7 @@ static void __meminit free_area_init_cor
> if (zone_boundary_align_pfn(zone_start_pfn) !=
> zone_start_pfn && j != 0 && size != 0)
> printk(KERN_CRIT "node %d zone %s missaligned "
> - "start pfn, enable UNALIGNED_ZONE_BOUNDRIES\n",
> + "start pfn, enable UNALIGNED_ZONE_BOUNDARIES\n",
> nid, zone_names[j]);
>
> realsize = size = zones_size[j];

Ignore this patch. Somehow the wrong version has escaped here. Clearly
wrong.

-apw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 16:53    [W:0.067 / U:18.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site