Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24646
b: refs/heads/master
c: 69ed332
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Mar 28, 2006
1 parent f190f4a commit ea0206d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fe901d124871f5781b9c4ccbb7ff93fdff9d39e
refs/heads/master: 69ed3324983bb937d78a8579ed91b90242ee5aaa
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/kernel/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ static int __init smt_setup(void)
unsigned int cpu;

if (!cpu_has_feature(CPU_FTR_SMT))
return 1;
return -ENODEV;

options = find_path_device("/options");
if (!options)
return 1;
return -ENODEV;

val = (unsigned int *)get_property(options, "ibm,smt-snooze-delay",
NULL);
Expand All @@ -78,7 +78,7 @@ static int __init smt_setup(void)
per_cpu(smt_snooze_delay, cpu) = *val;
}

return 1;
return 0;
}
__initcall(smt_setup);

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/pseries/ras.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static int __init init_ras_IRQ(void)
of_node_put(np);
}

return 1;
return 0;
}
__initcall(init_ras_IRQ);

Expand Down

0 comments on commit ea0206d

Please sign in to comment.