aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/rwsem.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-18 09:36:36 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-22 00:49:21 -0400
commit20b31b53ea87e598ea8159f109b4217ad185fce5 (patch)
treebf39812f93191926d53e10ce376c530d4853435f /include/asm-powerpc/rwsem.h
parent555ddbb4e2191c8823df2d61525218ac39481385 (diff)
[POWERPC] Prevent direct inclusion of <asm/rwsem.h>.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/rwsem.h')
-rw-r--r--include/asm-powerpc/rwsem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/rwsem.h b/include/asm-powerpc/rwsem.h
index e929145e1e46..cefc14728cc5 100644
--- a/include/asm-powerpc/rwsem.h
+++ b/include/asm-powerpc/rwsem.h
@@ -1,6 +1,10 @@
1#ifndef _ASM_POWERPC_RWSEM_H 1#ifndef _ASM_POWERPC_RWSEM_H
2#define _ASM_POWERPC_RWSEM_H 2#define _ASM_POWERPC_RWSEM_H
3 3
4#ifndef _LINUX_RWSEM_H
5#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
6#endif
7
4#ifdef __KERNEL__ 8#ifdef __KERNEL__
5 9
6/* 10/*