Skip to content
Commit d1813e54 authored by Daniel Leung's avatar Daniel Leung Committed by Carles Cufí
Browse files

arm: using -EAGAIN directly instead of _k_neg_eagain



_k_neg_eagain is there for used in assembly where including
errno.h is not possible. However, the usage in ARM was simply
to assign value to swap_return_value in a C file, which is
no need to use _k_neg_eagain as errno.h can be included.
So change that to use -EAGAIN directly. Saves 4 bytes in
built binaries in rodata.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 2516aa8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment