summaryrefslogtreecommitdiff
path: root/include/linux/list.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 17:59:22 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 17:59:22 -0800
commit6db68906c1bb26066a32c8e5be0c523da41cf08f (patch)
treecfbf4280e3c3ff14986811401e4d5c58c2108f3d /include/linux/list.h
parent2a7117ac7c120c085c56745f753166b821022858 (diff)
v2.4.1.4 -> v2.4.2
- sync up more with Alan - Urban Widmark: smbfs and HIGHMEM fix - Chris Mason: reiserfs tail unpacking fix ("null bytes in reiserfs files") - Adan Richter: new cpia usb ID - Hugh Dickins: misc small sysv ipc fixes - Andries Brouwer: remove overly restrictive sector size check for SCSI cd-roms
Diffstat (limited to 'include/linux/list.h')
-rw-r--r--include/linux/list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/list.h b/include/linux/list.h
index ed38faa2159e..48fea84b49ed 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
-#ifdef __KERNEL__
+#if defined(__KERNEL__) || defined(_LVM_H_INCLUDE)
/*
* Simple doubly linked list implementation.
@@ -149,6 +149,6 @@ static __inline__ void list_splice(struct list_head *list, struct list_head *hea
#define list_for_each(pos, head) \
for (pos = (head)->next; pos != (head); pos = pos->next)
-#endif /* __KERNEL__ */
+#endif /* __KERNEL__ || _LVM_H_INCLUDE */
#endif