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 'master' into for-next
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
rwsem.h
diff --git
a/include/linux/rwsem.h
b/include/linux/rwsem.h
index 7b524b4109a039a5cf065d60af824fa4d2fb0ff0..efd348fe8ca75f6d9effcf8f05e87bd276e46d97 100644
(file)
--- a/
include/linux/rwsem.h
+++ b/
include/linux/rwsem.h
@@
-9,8
+9,6
@@
#include <linux/linkage.h>
-#ifdef __KERNEL__
-
#include <linux/types.h>
#include <linux/kernel.h>
#include <asm/system.h>
@@
-90,5
+88,4
@@
extern void up_read_non_owner(struct rw_semaphore *sem);
# define up_read_non_owner(sem) up_read(sem)
#endif
-#endif /* __KERNEL__ */
#endif /* _LINUX_RWSEM_H */