summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-18 07:33:08 -0400
committerTony Luck <tony.luck@intel.com>2007-07-20 11:27:11 -0700
commitbd807f9c5b90c236c3d173a5815d620bc1b1316d (patch)
treeb166f30d451eb99988192d0030a2771fb2b85ebe /include/asm-ia64
parentc36c282b88963d0957368a443168588e62301fda (diff)
downloadlinux-stable-bd807f9c5b90c236c3d173a5815d620bc1b1316d.tar.gz
linux-stable-bd807f9c5b90c236c3d173a5815d620bc1b1316d.tar.bz2
linux-stable-bd807f9c5b90c236c3d173a5815d620bc1b1316d.zip
[IA64] Prevent people from directly including <asm/rwsem.h>.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/rwsem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ia64/rwsem.h b/include/asm-ia64/rwsem.h
index 2d1640cc240a..8aba06a7b038 100644
--- a/include/asm-ia64/rwsem.h
+++ b/include/asm-ia64/rwsem.h
@@ -21,6 +21,10 @@
#ifndef _ASM_IA64_RWSEM_H
#define _ASM_IA64_RWSEM_H
+#ifndef _LINUX_RWSEM_H
+#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
+#endif
+
#include <linux/list.h>
#include <linux/spinlock.h>