+
+/*
+ * This file is based on include/linux/list.h in the Linux kernel source code.
+ */
+
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
#define LIST_HEAD_INIT(name) { &(name), &(name) }
+#ifdef LIST_HEAD /* BSD sys/queue.h defines this... */
+#undef LIST_HEAD
+#endif
+
#define LIST_HEAD(name) \
struct list_head name = LIST_HEAD_INIT(name)