diff options
author | Scott Wood <scottwood@freescale.com> | 2007-08-20 17:39:45 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-22 05:21:47 (GMT) |
commit | 643d3c139b0a5289d7f0ba19fdcb24be6d7e768f (patch) | |
tree | a68812ee6e98c31b82d8b01f2733b01b615ad106 /arch/powerpc/boot/ops.h | |
parent | 44d06ba72990893eb5506516b25ccaf3a757ffc0 (diff) | |
download | linux-643d3c139b0a5289d7f0ba19fdcb24be6d7e768f.tar.xz |
[POWERPC] bootwrapper: Set timebase_period_ns from dt_fixup_cpu_clocks
This lets udelay() work properly on platforms which use dt_fixup_cpu_clocks.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r-- | arch/powerpc/boot/ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index 8607706..aebd6ed 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h @@ -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_ */ |