Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry picked from commit d1813e5) Original-Signed-off-by: Daniel Leung <daniel.leung@intel.com> GitOrigin-RevId: d1813e5 Change-Id: Ic4a6b88a98b165fbe5b0491a8b25f99ca7ef9c53 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4962350 Commit-Queue: Al Semjonovs <asemjonovs@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-by: Al Semjonovs <asemjonovs@google.com> Tested-by: Al Semjonovs <asemjonovs@google.com>
- Loading branch information