Commit bd807f9c authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Tony Luck

[IA64] Prevent people from directly including <asm/rwsem.h>.

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent c36c282b
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
#ifndef _ASM_IA64_RWSEM_H #ifndef _ASM_IA64_RWSEM_H
#define _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/list.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment