nios2: implement get_ticks and get_tbclk
authorAlex Hornung <alex@alexhornung.com>
Mon, 20 Feb 2012 07:34:48 +0000 (07:34 +0000)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 23 Feb 2012 00:31:20 +0000 (08:31 +0800)
commit7bd7b31574518bf9c7b3c83ef2831e27abb6b14e
tree412f701fab94ca7e8a258496cd1eb77c502c4e6e
parent8875833a86e567c0ca4258353116294089d24625
nios2: implement get_ticks and get_tbclk

 * Copy over Blackfin's get_ticks and get_tbclk - they work just fine on
   Nios2.

Signed-off-by: Alex Hornung <alex@alexhornung.com>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/cpu/interrupts.c