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

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
This commit is contained in:
Robert P. J. Day 2007-07-18 07:33:08 -04:00 • committed by Tony Luck
commit bd807f9c5b

View file

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