Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67313
b: refs/heads/master
c: d347b32
h: refs/heads/master
i:
  67311: 88c3dd9
v: v3
  • Loading branch information
Jon Loeliger authored and Kumar Gala committed Sep 14, 2007
1 parent 17f13c2 commit 8311029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 7f2862c34521ee6006f9c2678d68a02dc57b5444
refs/heads/master: d347b3291b284e42c90b3f675a8332daf890b85a
14 changes: 2 additions & 12 deletions trunk/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,23 +132,13 @@ static int mpc86xx_exclude_device(struct pci_controller *hose,
static void __init
mpc86xx_hpcn_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc86xx_hpcn_setup_arch()", 0);

np = of_find_node_by_type(NULL, "cpu");
if (np != 0) {
const unsigned int *fp;

fp = of_get_property(np, "clock-frequency", NULL);
if (fp != 0)
loops_per_jiffy = *fp / HZ;
else
loops_per_jiffy = 50000000 / HZ;
of_node_put(np);
}

#ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) {
struct resource rsrc;
Expand Down

0 comments on commit 8311029

Please sign in to comment.