]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: show time stamps from zero
authorPavel Tatashin <pasha.tatashin@oracle.com>
Mon, 12 Jun 2017 20:41:43 +0000 (16:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2017 22:44:02 +0000 (15:44 -0700)
commitb5dd4d807f0fe7da67c5cc67b2ec681b60e4994b
tree37000602710190390a6ea209b17435fa3c3cdff3
parentb8a83fcb78c859b99807af4c8b0ab09f0f827a40
sparc64: show time stamps from zero

On most platforms, time is shown from the beginning of boot.  This patch is
adding offset to sched_clock() for SPARC, to also show time from 0.

This means we will have one more load, but we saved one in an ealier patch.

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/kernel/time_64.c