mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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:
parent
c36c282b88
commit
bd807f9c5b
1 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue