]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/list.h
Remove "#ifdef __KERNEL__" checks from unexported headers
[linux-2.6-omap-h63xx.git] / include / linux / list.h
index 7627508f1b741aed30ef52ce76c40d2cc8a0646a..08cf4f6518892a4364ce1a84332b407eab2b122f 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef _LINUX_LIST_H
 #define _LINUX_LIST_H
 
-#ifdef __KERNEL__
-
 #include <linux/stddef.h>
 #include <linux/poison.h>
 #include <linux/prefetch.h>
@@ -983,7 +981,4 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,
                ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
             pos = rcu_dereference(pos->next))
 
-#else
-#warning "don't include kernel headers in userspace"
-#endif /* __KERNEL__ */
 #endif