Skip to content
Commit 05334737 authored by Emil Gydesen's avatar Emil Gydesen Committed by Anas Nashif
Browse files

arch: arm: Fix missing include for sys_define_gpr_with_alias



The sys_define_gpr_with_alias macro was defined by arch.h,
but was used by the two exception.h files that did not include it.

Attempting to include arch.h from exception.h would resolve
in a recursive include, so the macro was simply moved to the
files that used it.

An alternative could have been to define a new file that defined it,
that could have been included by exception.h

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent fe573ebe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment