lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH: 004/012] Memory hotplug for new nodes v.2. (pgdat alloc caller for ia64)
From
Date
On Fri, 2006-02-17 at 22:28 +0900, Yasunori Goto wrote:
>
> + if (node < 0)
> + node = 0; /* pxm is undefined in DSDT.
> + This might be non NUMA case */
> +
> + if (!node_online(node)){
> + ret = new_pgdat_init(node, start_pfn, nr_pages);
> + if (ret)
> + return ret;
> +
> + new_pgdat = 1;
> + }
> + pgdat = NODE_DATA(node);

Now that I've seen this exact code copy-and-pasted into two different
architectures, it begs the question: do we need a common function here?

-- Dave

-
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-02-17 16:55    [W:0.099 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site