kernel: Eliminate use of KERNEL_V2 configuration option

The unified kernel is now the only supported kernel, so this
option is unnessary. Eliminating this option also enables
the removal of some legacy code that is no longer required.

Change-Id: Ibfc339d643c8de16a2ed2009c9b468848b8b4972
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
Allan Stephens 2016-11-11 16:24:04 -05:00 committed by Anas Nashif
commit dd07b4779f
19 changed files with 1 additions and 304 deletions

View file

@ -317,11 +317,9 @@ SECTION_FUNC(TEXT, _Swap)
ldr r2, =_SCS_ICSR_PENDSV
str r2, [r1, #0]
#ifdef CONFIG_KERNEL_V2
/* load -EAGAIN as the default return value */
ldr r0, =_k_neg_eagain
ldr r0, [r0]
#endif
/* Unlock interrupts to allow PendSV, since it's running at prio 0xff
*