arc/nios2: rename sys_cycle_get_32 to k_cycle_get_32

Oversight from unified kernel effort.

Change-Id: Ib81ead8a38e06b72dc60cdce666d3a4eedf1901c
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2016-12-20 15:33:29 -05:00 committed by Anas Nashif
commit 50f7032fb4
2 changed files with 2 additions and 20 deletions

View file

@ -423,16 +423,7 @@ int sys_clock_device_ctrl(struct device *port, uint32_t ctrl_command,
}
#endif /* CONFIG_DEVICE_POWER_MANAGEMENT */
/**
*
* @brief Read the platform's timer hardware
*
* This routine returns the current time in terms of timer hardware clock
* cycles.
*
* @return up counter of elapsed clock cycles
*/
uint32_t sys_cycle_get_32(void)
uint32_t k_cycle_get_32(void)
{
return (accumulated_cycle_count + timer0_count_register_get());
}