1*e2650af1SStefan Eßer /*-
2*e2650af1SStefan Eßer * Copyright (c) 2021 Stefan Esser <se@FreeBSD.org>
3*e2650af1SStefan Eßer *
4*e2650af1SStefan Eßer * Redistribution and use in source and binary forms, with or without
5*e2650af1SStefan Eßer * modification, are permitted provided that the following conditions
6*e2650af1SStefan Eßer * are met:
7*e2650af1SStefan Eßer * 1. Redistributions of source code must retain the above copyright
8*e2650af1SStefan Eßer * notice, this list of conditions and the following disclaimer.
9*e2650af1SStefan Eßer * 2. Redistributions in binary form must reproduce the above copyright
10*e2650af1SStefan Eßer * notice, this list of conditions and the following disclaimer in the
11*e2650af1SStefan Eßer * documentation and/or other materials provided with the distribution.
12*e2650af1SStefan Eßer *
13*e2650af1SStefan Eßer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*e2650af1SStefan Eßer * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*e2650af1SStefan Eßer * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*e2650af1SStefan Eßer * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*e2650af1SStefan Eßer * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*e2650af1SStefan Eßer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*e2650af1SStefan Eßer * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*e2650af1SStefan Eßer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*e2650af1SStefan Eßer * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*e2650af1SStefan Eßer * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*e2650af1SStefan Eßer * SUCH DAMAGE.
24*e2650af1SStefan Eßer */
25*e2650af1SStefan Eßer
26*e2650af1SStefan Eßer #include <stdlib.h>
27*e2650af1SStefan Eßer #include <sched.h>
28*e2650af1SStefan Eßer
29*e2650af1SStefan Eßer void
__cpuset_free(cpuset_t * ptr)30*e2650af1SStefan Eßer __cpuset_free(cpuset_t *ptr)
31*e2650af1SStefan Eßer {
32*e2650af1SStefan Eßer free(ptr);
33*e2650af1SStefan Eßer }
34