Deleted Added
full compact
linux_misc.c (242476) linux_misc.c (254025)
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>
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 242476 2012-11-02 13:56:36Z kib $");
31__FBSDID("$FreeBSD: head/sys/compat/linux/linux_misc.c 254025 2013-08-07 06:21:20Z jeff $");
32
33#include "opt_compat.h"
34#include "opt_kdtrace.h"
35
36#include <sys/param.h>
37#include <sys/blist.h>
38#include <sys/fcntl.h>
39#if defined(__i386__)

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

462
463cleanup:
464 /* Unlock vnode if needed */
465 if (locked)
466 VOP_UNLOCK(vp, 0);
467
468 /* Release the temporary mapping. */
469 if (a_out)
32
33#include "opt_compat.h"
34#include "opt_kdtrace.h"
35
36#include <sys/param.h>
37#include <sys/blist.h>
38#include <sys/fcntl.h>
39#if defined(__i386__)

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

462
463cleanup:
464 /* Unlock vnode if needed */
465 if (locked)
466 VOP_UNLOCK(vp, 0);
467
468 /* Release the temporary mapping. */
469 if (a_out)
470 kmem_free_wakeup(exec_map, (vm_offset_t)a_out, PAGE_SIZE);
470 kmap_free_wakeup(exec_map, (vm_offset_t)a_out, PAGE_SIZE);
471
472 return (error);
473}
474
475#endif /* __i386__ */
476
477int
478linux_select(struct thread *td, struct linux_select_args *args)

--- 1449 unchanged lines hidden ---
471
472 return (error);
473}
474
475#endif /* __i386__ */
476
477int
478linux_select(struct thread *td, struct linux_select_args *args)

--- 1449 unchanged lines hidden ---