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
+1
View File
@@ -38,6 +38,7 @@
#include <assert.h>
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/semaphore.h>
#include <nuttx/fs/fs.h>