]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerAllen Pais <allen.pais@oracle.com>
Thu, 29 Jun 2017 08:09:43 +0000 (13:39 +0530)
commit4409904e2b9c28ea65475b7ad8f06fdd1edf0866
tree9dbad7b1ee30ae8447e510e3e8c000dceb9d43f2
parent2ee075bd1fb051cb3337bfaacf65d4c94bbf1561
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>
Orabug: 24401250
Orabug: 25637776

(cherry picked from commit 4929c83a6ce6584cb64381bf1407c487f67d588a)
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/include/asm/timer_64.h
arch/sparc/kernel/time_64.c
arch/sparc/kernel/vmlinux.lds.S