Commit:     bd807f9c5b90c236c3d173a5815d620bc1b1316d
Parent:     c36c282b88963d0957368a443168588e62301fda
Author:     Robert P. J. Day <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 18 07:33:08 2007 -0400
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 11:27:11 2007 -0700

    [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]>
 include/asm-ia64/rwsem.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/asm-ia64/rwsem.h b/include/asm-ia64/rwsem.h
index 2d1640c..8aba06a 100644
--- a/include/asm-ia64/rwsem.h
+++ b/include/asm-ia64/rwsem.h
@@ -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> 
 #include <linux/list.h>
 #include <linux/spinlock.h>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to