Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48222
b: refs/heads/master
c: 46e4cf6
h: refs/heads/master
v: v3
  • Loading branch information
Sylvain Munaut authored and Paul Mackerras committed Feb 13, 2007
1 parent 72bad75 commit 6573080
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 82a03b92279f2ea80e11dc2c419fdaa3800401a2
refs/heads/master: 46e4cf6c14e0a5b8916a1236a7079ccad3f4352a
13 changes: 6 additions & 7 deletions trunk/arch/powerpc/platforms/52xx/efika-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ static void efika_show_cpuinfo(struct seq_file *m)
const char *codegenvendor = NULL;

root = of_find_node_by_path("/");
if (root) {
revision = get_property(root, "revision", NULL);
codegendescription =
get_property(root, "CODEGEN,description", NULL);
codegenvendor = get_property(root, "CODEGEN,vendor", NULL);
if (!root)
return;

of_node_put(root);
}
revision = get_property(root, "revision", NULL);
codegendescription =
get_property(root, "CODEGEN,description", NULL);
codegenvendor = get_property(root, "CODEGEN,vendor", NULL);

if (codegendescription)
seq_printf(m, "machine\t\t: %s\n", codegendescription);
Expand Down

0 comments on commit 6573080

Please sign in to comment.