Browse Source

Small change to help arch's without processor affinity

nfactor-troky
Paul Sheppard 13 years ago
parent
commit
195bd57a38
  1. 2
      device-cpu.c

2
device-cpu.c

@ -39,7 +39,7 @@
#include <fcntl.h> #include <fcntl.h>
#endif #endif
#ifdef __linux /* Linux specific policy and affinity management */ #if defined(__linux) && defined(cpu_set_t) /* Linux specific policy and affinity management */
#include <sched.h> #include <sched.h>
static inline void drop_policy(void) static inline void drop_policy(void)
{ {

Loading…
Cancel
Save