summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-18 13:33:08 +0200
committerTony Luck <tony.luck@intel.com>2007-07-20 20:27:11 +0200
commitbd807f9c5b90c236c3d173a5815d620bc1b1316d (patch)
treeb166f30d451eb99988192d0030a2771fb2b85ebe /include/asm-ia64
parentPull ia64-clocksource into release branch (diff)
downloadlinux-bd807f9c5b90c236c3d173a5815d620bc1b1316d.tar.xz
linux-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>