userspace: Exclude nuttx/arch.h

This patch fixed userspace headers conflict. Architecture-related definition and API should not be exposed to users.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen 2024-10-16 10:49:33 +08:00 committed by Xiang Xiao
parent b271507c9f
commit 17c51c0667
98 changed files with 111 additions and 32 deletions

View file

@ -32,6 +32,7 @@
#include <debug.h>
#include <errno.h>
#include <nuttx/arch.h>
#include <nuttx/addrenv.h>
#include <nuttx/kmalloc.h>
#include <nuttx/binfmt/binfmt.h>