Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67248
b: refs/heads/master
c: 643d3c1
h: refs/heads/master
v: v3
  • Loading branch information
Scott Wood authored and Paul Mackerras committed Aug 22, 2007
1 parent 6383966 commit 5684c74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44d06ba72990893eb5506516b25ccaf3a757ffc0
refs/heads/master: 643d3c139b0a5289d7f0ba19fdcb24be6d7e768f
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/boot/devtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void dt_fixup_cpu_clocks(u32 cpu, u32 tb, u32 bus)
if (bus > 0)
setprop_val(devp, "bus-frequency", bus);
}

timebase_period_ns = 1000000000 / tb;
}

void dt_fixup_clock(const char *path, u32 freq)
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/boot/ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,6 @@ static inline void exit(void)
static char _bss_stack[size]; \
void *_platform_stack_top = _bss_stack + sizeof(_bss_stack);

extern unsigned long timebase_period_ns;

#endif /* _PPC_BOOT_OPS_H_ */

0 comments on commit 5684c74

Please sign in to comment.