arc: fixes a missing declaration compile error

Building microkernel for ARC causes a compiler error
due to missing declaration of _sys_idle_elapsed_ticks.
Declare this as extern.

Jira: ZEP-397
Change-Id: I83701f693fea0fcb1ae2c30e0c52abe7987de1f1
Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
This commit is contained in:
Ramesh Thomas 2016-05-24 16:44:31 -07:00 committed by Anas Nashif
commit a4568aac44

View file

@ -89,6 +89,7 @@ static uint32_t __noinit max_system_ticks;
static uint32_t __noinit programmed_limit;
static uint32_t __noinit programmed_ticks;
static bool straddled_tick_on_idle_enter = false;
extern int32_t _sys_idle_elapsed_ticks;
#endif
/**