projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'irq-fix' of git://www.modarm9.com/gitsrc/pub/people/ukleinek/linux...
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
kfifo.h
diff --git
a/include/linux/kfifo.h
b/include/linux/kfifo.h
index 404f4464cb1aaf255b58c818a865ae4de2e103c7..29f62e1733ff4e23c61e4f25c75d6e5498e4ab93 100644
(file)
--- a/
include/linux/kfifo.h
+++ b/
include/linux/kfifo.h
@@
-21,8
+21,6
@@
#ifndef _LINUX_KFIFO_H
#define _LINUX_KFIFO_H
-#ifdef __KERNEL__
-
#include <linux/kernel.h>
#include <linux/spinlock.h>
@@
-151,7
+149,4
@@
static inline unsigned int kfifo_len(struct kfifo *fifo)
return ret;
}
-#else
-#warning "don't include kernel headers in userspace"
-#endif /* __KERNEL__ */
#endif