Re: [PATCH 2/2] zone allow unaligned zone boundaries spelling fix

From: Andy Whitcroft
Date: Thu May 18 2006 - 10:50:15 EST


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@xxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/