Changeset 100194 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 16, 2023 8:19:12 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/linux/mp-linux.cpp
r98103 r100194 52 52 #include <iprt/linux/sysfs.h> 53 53 54 55 #if defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32) 56 # include <sched.h> 57 58 RTDECL(RTCPUID) RTMpCpuId(void) 59 { 60 int rc = sched_getcpu(); 61 if (rc >= 0) 62 return (RTCPUID)rc; 63 64 return NIL_RTCPUID; 65 } 66 #endif 54 67 55 68 /**
Note:
See TracChangeset
for help on using the changeset viewer.