arm: make _timer_int_handler optional

If CORTEX_M_SYSTICK is not selected, do not reference
_timer_int_handler. SoC will need to define a custom system
clock implementation.

Change-Id: I655f3abf66953e434fef69ed16db2d9c2dcc486e
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Vinayak Chettimada 2016-11-22 12:28:01 +01:00 committed by Anas Nashif
commit 3bc143962c

View file

@ -79,4 +79,8 @@ SECTION_SUBSEC_FUNC(exc_vector_table,_vector_table_section,__start)
#endif
.word __reserved
.word __pendsv
#if defined(CONFIG_CORTEX_M_SYSTICK)
.word _timer_int_handler
#else
.word __reserved
#endif