140516Swpaul/*- 240516Swpaul * Copyright (c) 2021 Stefan Esser <se@FreeBSD.org> 340516Swpaul * 440516Swpaul * Redistribution and use in source and binary forms, with or without 540516Swpaul * modification, are permitted provided that the following conditions 640516Swpaul * are met: 740516Swpaul * 1. Redistributions of source code must retain the above copyright 840516Swpaul * notice, this list of conditions and the following disclaimer. 940516Swpaul * 2. Redistributions in binary form must reproduce the above copyright 1040516Swpaul * notice, this list of conditions and the following disclaimer in the 1140516Swpaul * documentation and/or other materials provided with the distribution. 1240516Swpaul * 1340516Swpaul * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1440516Swpaul * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1540516Swpaul * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1640516Swpaul * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1740516Swpaul * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1840516Swpaul * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1940516Swpaul * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2040516Swpaul * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2140516Swpaul * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2240516Swpaul * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2340516Swpaul * SUCH DAMAGE. 2440516Swpaul */ 2540516Swpaul 2640516Swpaul#include <stdlib.h> 2740516Swpaul#include <sched.h> 2840516Swpaul 2940516Swpaulvoid 3040516Swpaul__cpuset_free(cpuset_t *ptr) 3140516Swpaul{ 3246024Speter free(ptr); 3340516Swpaul} 3440516Swpaul