Skip to content

Commit

Permalink
[IA64] Prevent people from directly including <asm/rwsem.h>.
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Robert P. J. Day authored and Tony Luck committed Jul 20, 2007
1 parent c36c282 commit bd807f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-ia64/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit bd807f9

Please sign in to comment.