Deleted Added
full compact
drm_linux_list.h (145132) drm_linux_list.h (152909)
1/* drm_linux_list.h -- linux list functions for the BSDs.
2 * Created: Mon Apr 7 14:30:16 1999 by anholt@FreeBSD.org
3 */
4/*-
5 * Copyright 2003 Eric Anholt
6 * All Rights Reserved.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a

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

22 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25 * OTHER DEALINGS IN THE SOFTWARE.
26 *
27 * Authors:
28 * Eric Anholt <anholt@FreeBSD.org>
29 *
1/* drm_linux_list.h -- linux list functions for the BSDs.
2 * Created: Mon Apr 7 14:30:16 1999 by anholt@FreeBSD.org
3 */
4/*-
5 * Copyright 2003 Eric Anholt
6 * All Rights Reserved.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a

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

22 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25 * OTHER DEALINGS IN THE SOFTWARE.
26 *
27 * Authors:
28 * Eric Anholt <anholt@FreeBSD.org>
29 *
30 * $FreeBSD: head/sys/dev/drm/drm_linux_list.h 145132 2005-04-16 03:44:47Z anholt $
31 */
32
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/dev/drm/drm_linux_list.h 152909 2005-11-28 23:13:57Z anholt $");
34
33struct list_head {
34 struct list_head *next, *prev;
35};
36
37/* Cheat, assume the list_head is at the start of the struct */
38#define list_entry(entry, type, member) (type *)(entry)
39
40static __inline__ void

--- 32 unchanged lines hidden ---
35struct list_head {
36 struct list_head *next, *prev;
37};
38
39/* Cheat, assume the list_head is at the start of the struct */
40#define list_entry(entry, type, member) (type *)(entry)
41
42static __inline__ void

--- 32 unchanged lines hidden ---