0691 nwnss: scope schedule userspace port to mars build

This commit is contained in:
Mario Fetka
2026-06-17 08:37:43 +00:00
parent 184cf9b13f
commit 2a3834347f

View File

@@ -47,12 +47,11 @@
# include <public/zOmni.h>
#endif
#ifdef __linux__
#ifdef MARS_NWE_NWNSS_USERSPACE
#ifndef _PSSMPK_H_
# include <include/pssmpk.h>
#endif
#ifdef MARS_NWE_NWNSS_USERSPACE
/* nssOSAPIs.h may have been included first and defines these as Linux-kernel
* macros. The userspace scheduler port provides real functions instead. */
# undef ZOS_Sleep
@@ -61,8 +60,6 @@
# undef ZOS_ScheduleWorkToDo
# undef ZOS_ScheduleFastWorkToDo
# undef ZOS_CancelWorkToDo
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@ -495,6 +492,6 @@ typedef struct zWorkProc2_s
}
#endif
#endif /* __linux__ */
#endif /* MARS_NWE_NWNSS_USERSPACE */
#endif /* _SCHEDULE_H_ */