sparc64: add hot-patched and inlined get_tick()
authorPavel Tatashin <pasha.tatashin@oracle.com>
Mon, 12 Jun 2017 20:41:47 +0000 (16:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2017 22:44:03 +0000 (15:44 -0700)
commit4929c83a6ce6584cb64381bf1407c487f67d588a
tree49e344e89629324a8af3418dca73db02109abc08
parent83e8eb99d908da78e6eff7dd141f26626fe01d12
sparc64: add hot-patched and inlined get_tick()

Add the new get_tick() function that is hot-patched during boot based on
processor we are booting on.

Signed-off-by: Pavel Tatashin <pasha.tatashin@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
arch/sparc/kernel/vmlinux.lds.S