diff options
author | Pavel Tatashin <pasha.tatashin@oracle.com> | 2017-06-15 17:40:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-15 18:19:34 +0300 |
commit | fca4afe400cb68fe5a7f0a97fb1ba5cfdcb81675 (patch) | |
tree | 976f7baa3c9cfb53dd360d58f6a30bd1f5da9e72 /arch/powerpc/boot/ppcboot-hotfoot.h | |
parent | 9300d9c4ad29b0e79c55c0ba7a16cfc4c13442b8 (diff) | |
download | linux-fca4afe400cb68fe5a7f0a97fb1ba5cfdcb81675.tar.xz |
sparc64: use prom interface to get %stick frequency
We initialize time early, we must use prom interface instead of open
firmware driver, which is not yet initialized.
Also, use prom_getintdefault() instead of prom_getint() to be compatible
with the code before early boot timestamps project.
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/boot/ppcboot-hotfoot.h')
0 files changed, 0 insertions, 0 deletions