Skip to content

Commit

Permalink
Merge pull request #4 from xczhai/fc_parallel_all
Browse files Browse the repository at this point in the history
remove self define __NR_mbind. call __NR_mbind from unistd.h
  • Loading branch information
xczhai authored Mar 22, 2024
2 parents a930462 + 517a9c2 commit 5764f29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/intel_cpu/src/cpu_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,9 @@ void StaticMemory::StaticMemoryMngr::unregisterMemory(Memory* memPtr) {
# define MPOL_BIND 2
# define MPOL_MF_STRICT (1 << 0)
# define MPOL_MF_MOVE (1 << 1)
# define __NR_mbind 237
#if !defined(__NR_mbind) && defined(__x86_64__)
# define __NR_mbind 237
#endif
long mbind(void* start,
unsigned long len,
int mode,
Expand Down

0 comments on commit 5764f29

Please sign in to comment.