]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: improve modularity tick options
authorPavel Tatashin <pasha.tatashin@oracle.com>
Mon, 12 Jun 2017 20:41:45 +0000 (16:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2017 22:44:03 +0000 (15:44 -0700)
commit89108c3423e8047cd0da73182ea09b9da190b57e
tree9096d52fddf142a7b1c90ef17b350a9f537aadd5
parent178bf2b9a20e866677bbca5cb521b09a8498c1d7
sparc64: improve modularity tick options

This patch prepares the code for early boot time stamps by making it more
modular.

- init_tick_ops() to initialize struct sparc64_tick_ops
- new sparc64_tick_ops operation get_frequency() which returns a
  frequency

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/timer_64.h
arch/sparc/kernel/time_64.c