From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 18 May 2006 16:55:27 +0100 Subject: [PATCH 2/2] zone allow unaligned zone boundaries spelling fix Message-ID: <20060518155527.GA10920@shadowen.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Andy Whitcroft Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Andy Whitcroft , nickpiggin@yahoo.com.au, haveblue@us.ibm.com, bob.picco@hp.com, mingo@elte.hu, mbligh@mbligh.org, ak@suse.de, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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 --- 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]; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org