Deleted Added
full compact
list.h (290135) list.h (290706)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 *
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 * $FreeBSD: head/sys/compat/linuxkpi/common/include/linux/list.h 290135 2015-10-29 08:28:39Z hselasky $
29 * $FreeBSD: head/sys/compat/linuxkpi/common/include/linux/list.h 290706 2015-11-12 09:18:22Z hselasky $
30 */
31#ifndef _LINUX_LIST_H_
32#define _LINUX_LIST_H_
33
34/*
35 * Since LIST_HEAD conflicts with the linux definition we must include any
36 * FreeBSD header which requires it here so it is resolved with the correct
37 * definition prior to the undef.

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

62#include <netinet/in_pcb.h>
63#include <netinet/in_var.h>
64
65#include <netinet6/in6_var.h>
66#include <netinet6/nd6.h>
67
68#include <vm/vm.h>
69#include <vm/vm_object.h>
30 */
31#ifndef _LINUX_LIST_H_
32#define _LINUX_LIST_H_
33
34/*
35 * Since LIST_HEAD conflicts with the linux definition we must include any
36 * FreeBSD header which requires it here so it is resolved with the correct
37 * definition prior to the undef.

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

62#include <netinet/in_pcb.h>
63#include <netinet/in_var.h>
64
65#include <netinet6/in6_var.h>
66#include <netinet6/nd6.h>
67
68#include <vm/vm.h>
69#include <vm/vm_object.h>
70#include <vm/pmap.h>
71#include <machine/pmap.h>
70
71#define prefetch(x)
72
73struct list_head {
74 struct list_head *next;
75 struct list_head *prev;
76};
77

--- 355 unchanged lines hidden ---
72
73#define prefetch(x)
74
75struct list_head {
76 struct list_head *next;
77 struct list_head *prev;
78};
79

--- 355 unchanged lines hidden ---