projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] Prevent direct inclusion of <asm/rwsem.h>.
[deliverable/linux.git]
/
include
/
asm-powerpc
/
rwsem.h
diff --git
a/include/asm-powerpc/rwsem.h
b/include/asm-powerpc/rwsem.h
index e929145e1e46700bdef35c903acb6725ef5c66e3..cefc14728cc567535f99ea6b417afa68ff667158 100644
(file)
--- a/
include/asm-powerpc/rwsem.h
+++ b/
include/asm-powerpc/rwsem.h
@@
-1,6
+1,10
@@
#ifndef _ASM_POWERPC_RWSEM_H
#define _ASM_POWERPC_RWSEM_H
+#ifndef _LINUX_RWSEM_H
+#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
+#endif
+
#ifdef __KERNEL__
/*
This page took
0.024197 seconds
and
5
git commands to generate.