Deleted Added
sdiff udiff text old ( 283419 ) new ( 283421 )
full compact
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * Copyright (c) 1994-1995 S��ren Schmidt
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 14 unchanged lines hidden (view full) ---

23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/compat/linux/linux_misc.c 283419 2015-05-24 15:47:15Z dchagin $");
32
33#include "opt_compat.h"
34
35#include <sys/param.h>
36#include <sys/blist.h>
37#include <sys/fcntl.h>
38#if defined(__i386__)
39#include <sys/imgact_aout.h>

--- 2152 unchanged lines hidden (view full) ---

2192 lts.tv_sec = uts.tv_sec;
2193 lts.tv_nsec = uts.tv_nsec;
2194 error = copyout(&lts, args->tsp, sizeof(lts));
2195 }
2196
2197 return (error);
2198}
2199
2200int
2201linux_sched_rr_get_interval(struct thread *td,
2202 struct linux_sched_rr_get_interval_args *uap)
2203{
2204 struct timespec ts;
2205 struct l_timespec lts;
2206 struct thread *tdt;
2207 int error;
2208

--- 82 unchanged lines hidden ---