Files
libvirt/src/util
Guido Günther 712374d15f Include param.h in case of HAVE_BSD_CPU_AFFINITY
This fixes compilation on kFreeBSD which otherwise fails like

  CC       util/libvirt_util_la-virprocess.lo
In file included from /usr/include/sys/cpuset.h:35:0,
                 from util/virprocess.c:43:
/usr/include/sys/_cpuset.h:49:43: error: 'NBBY' undeclared here (not in
a function)
  long __bits[howmany(CPU_SETSIZE, _NCPUBITS)];
                                           ^
In file included from util/virprocess.c:43:0:
/usr/include/sys/cpuset.h:215:12: error: unknown type name 'cpusetid_t'
 int cpuset(cpusetid_t *);
            ^
/usr/include/sys/cpuset.h:216:30: error: expected ')' before 'id_t'
 int cpuset_setid(cpuwhich_t, id_t, cpusetid_t);
                              ^
/usr/include/sys/cpuset.h:217:42: error: expected ')' before 'id_t'
 int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *);
                                          ^
/usr/include/sys/cpuset.h:218:48: error: expected ')' before 'id_t'
 int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t
*);
                                                ^
/usr/include/sys/cpuset.h:219:48: error: expected ')' before 'id_t'
 int cpuset_setaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, const
cpuset_t *);

And it's the correct usage as documented in

  http://www.freebsd.org/cgi/man.cgi?query=cpuset_setid

Also change the #ifdef HAVE_BSH_CPU_AFFINITY to #if for consistency.
2014-08-11 22:23:48 +02:00
..
2014-07-16 06:48:53 -06:00
2014-07-03 10:41:15 +02:00
2014-07-03 10:41:15 +02:00
2014-05-06 11:22:13 -04:00
2013-02-12 09:00:15 -07:00
2014-07-29 11:25:16 +01:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2013-12-24 17:36:47 +01:00
2013-12-24 17:36:47 +01:00
2014-07-21 12:50:00 -06:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-07-28 14:10:29 -06:00
2014-07-28 14:10:29 -06:00
2014-03-04 12:24:13 +00:00
2014-08-02 20:52:34 -06:00
2013-04-12 16:55:45 -04:00
2014-07-03 10:48:14 +02:00
2014-07-03 10:41:15 +02:00
2014-03-04 12:24:13 +00:00
2014-07-23 12:59:40 +02:00
2014-07-23 12:59:40 +02:00