arch/arc: Move fatal_error.c into 'core'

One of many steps in the transform BSPs to platforms work item.  At the end
of this work item, there should not be any code in the 'arch/arc' directory.

Change-Id: If72a6a858eb4b0f1521191fca441bed4acc6d8ce
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-07-09 14:17:14 -04:00 committed by Anas Nashif
commit 4a36991e66
3 changed files with 3 additions and 4 deletions

View file

@ -3,7 +3,6 @@ asflags-y +=-I$(srctree)/arch/arc/$(strip $(CONFIG_PLATFORM))
obj-y = core/
obj-y += fatal_error.o \
prep_c.o \
obj-y += prep_c.o \
reset.o \
vector_table.o

View file

@ -4,4 +4,5 @@ ccflags-y += -I$(srctree)/kernel/microkernel/include
obj-y += atomic.o context.o context_wrapper.o \
cpu_idle.o fast_irq.o fatal.o fault.o \
fault_s.o ffs.o irq_lock.o irq_manage.o \
isr_wrapper.o regular_irq.o swap_macros.h swap.o
isr_wrapper.o regular_irq.o swap_macros.h swap.o \
sys_fatal_error_handler.o

View file

@ -38,7 +38,6 @@ This module provides the _SysFatalErrorHandler() routine for ARCv2 BSPs.
#include <nanokernel.h>
#include <toolchain.h>
#include <sections.h>
#include "board.h"
#ifdef CONFIG_PRINTK
#include <misc/printk.h>