[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0901051420030.27641@asgard.lang.hm>
Date: Mon, 5 Jan 2009 14:20:42 -0800 (PST)
From: david@...g.hm
To: Cyrill Gorcunov <gorcunov@...il.com>
cc: Jiri Slaby <jirislaby@...il.com>, Andi Kleen <andi@...stfloor.org>,
LKML <linux-kernel@...r.kernel.org>, yhlu.kernel@...il.com
Subject: Re: early exception error
On Sun, 4 Jan 2009, Cyrill Gorcunov wrote:
I assume you want this instead of the prior patches. I will test this
shortly.
David Lang
> ---
> include/linux/mmzone.h | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-2.6.git/include/linux/mmzone.h
> ===================================================================
> --- linux-2.6.git.orig/include/linux/mmzone.h
> +++ linux-2.6.git/include/linux/mmzone.h
> @@ -980,6 +980,7 @@ extern struct mem_section mem_section[NR
>
> static inline struct mem_section *__nr_to_section(unsigned long nr)
> {
> + BUG_ON(SECTION_NR_TO_ROOT(nr) >= NR_SECTION_ROOTS);
> if (!mem_section[SECTION_NR_TO_ROOT(nr)])
> return NULL;
> return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK];
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists