Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25870
b: refs/heads/master
c: 49c28e4
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Apr 13, 2006
1 parent d96fdf3 commit ebf885f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: ddafddcfc78aab994cf95922befc54d98aaf371b
refs/heads/master: 49c28e4e40be73019481f3c13a5966e0cc8f5a9d
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/rtas-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ static int __init proc_rtas_init(void)
struct proc_dir_entry *entry;

if (!machine_is(pseries))
return 1;
return -ENODEV;

rtas_node = of_find_node_by_name(NULL, "rtas");
if (rtas_node == NULL)
return 1;
return -ENODEV;

entry = create_proc_entry("ppc64/rtas/progress", S_IRUGO|S_IWUSR, NULL);
if (entry)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/pseries/rtasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ static int __init rtas_init(void)
/* No RTAS */
if (rtas_token("event-scan") == RTAS_UNKNOWN_SERVICE) {
printk(KERN_INFO "rtasd: no event-scan on system\n");
return 1;
return -ENODEV;
}

entry = create_proc_entry("ppc64/rtas/error_log", S_IRUSR, NULL);
Expand Down

0 comments on commit ebf885f

Please sign in to comment.