commit | fca4afe400cb68fe5a7f0a97fb1ba5cfdcb81675 | [log] [tgz] |
---|---|---|
author | Pavel Tatashin <pasha.tatashin@oracle.com> | Thu Jun 15 10:40:58 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 15 08:19:34 2017 -0700 |
tree | 976f7baa3c9cfb53dd360d58f6a30bd1f5da9e72 | |
parent | 9300d9c4ad29b0e79c55c0ba7a16cfc4c13442b8 [diff] |
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>