lkml.org 
[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: 2.6.10-mm1
    Date
    On Monday, January 3, 2005 1:11 am, you wrote:
    > +replace-numnodes-with-node_online_map-ia64.patch

    Here are some compile fixes for this patch. Looks like simple typos. Note
    that the kernel won't boot even with these fixes, I'm debugging that now
    (suspect nodemask related stuff is causing the hang too).

    Signed-off-by: Jesse Barnes <jbarnes@sgi.com>

    Jesse
    diff -Napur -X /home/jbarnes/dontdiff linux-2.6.10-mm1.orig/arch/ia64/mm/discontig.c linux-2.6.10-mm1/arch/ia64/mm/discontig.c
    --- linux-2.6.10-mm1.orig/arch/ia64/mm/discontig.c 2005-01-03 08:58:43.000000000 -0800
    +++ linux-2.6.10-mm1/arch/ia64/mm/discontig.c 2005-01-03 08:55:44.000000000 -0800
    @@ -379,7 +379,7 @@ static void __init reserve_pernode_space
    struct bootmem_data *bdp;
    int node;

    - for_each_online(node) {
    + for_each_online_node(node) {
    pg_data_t *pdp = mem_data[node].pgdat;

    bdp = pdp->bdata;
    diff -Napur -X /home/jbarnes/dontdiff linux-2.6.10-mm1.orig/arch/ia64/sn/kernel/sn2/prominfo_proc.c linux-2.6.10-mm1/arch/ia64/sn/kernel/sn2/prominfo_proc.c
    --- linux-2.6.10-mm1.orig/arch/ia64/sn/kernel/sn2/prominfo_proc.c 2005-01-03 08:58:43.000000000 -0800
    +++ linux-2.6.10-mm1/arch/ia64/sn/kernel/sn2/prominfo_proc.c 2005-01-03 08:56:25.000000000 -0800
    @@ -266,7 +266,7 @@ void __exit prominfo_exit(void)
    char name[NODE_NAME_LEN];

    entp = proc_entries;
    - for (cnodeid) {
    + for_each_online_node(cnodeid) {
    remove_proc_entry("fit", *entp);
    remove_proc_entry("version", *entp);
    sprintf(name, "node%d", cnodeid);
    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.044 / U:0.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site