- xtensa-warn-about-including-asm-rwsemh-directly.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     XTENSA: warn about including <asm/rwsem.h> directly.
has been removed from the -mm tree.  Its filename was
     xtensa-warn-about-including-asm-rwsemh-directly.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: XTENSA: warn about including <asm/rwsem.h> directly.
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>

For consistency with other architectures, warn about including
<asm-xtensa/rwsem.h> directly.

Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
Cc: Christian Zankel <chris@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-xtensa/rwsem.h |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN include/asm-xtensa/rwsem.h~xtensa-warn-about-including-asm-rwsemh-directly include/asm-xtensa/rwsem.h
--- a/include/asm-xtensa/rwsem.h~xtensa-warn-about-including-asm-rwsemh-directly
+++ a/include/asm-xtensa/rwsem.h
@@ -13,6 +13,10 @@
 #ifndef _XTENSA_RWSEM_H
 #define _XTENSA_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>
 #include <asm/atomic.h>
_

Patches currently in -mm which might be from rpjday@xxxxxxxxxxxxxx are

linux-next.patch
m32r-remove-the-unused-nohighmem-option.patch
scsi-remove-the-unused-scsi_qlogic_fc_firmware-option.patch
uml-remove-the-dead-tty_log-code.patch
inith-remove-long-dead-__setup_null_param-macro.patch
oss-remove-references-to-dead-sound-oss-vars-aedsp16_msssbpro.patch
fs-partitions-acornc-remove-dead-code.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux