[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>
This commit is contained in:
Robert P. J. Day 2007-07-18 07:33:08 -04:00 committed by Tony Luck
parent c36c282b88
commit bd807f9c5b

View file

@ -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>