+ prevent-multiple-inclusion-of-linux-sysrqh.patch added to -mm tree

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

 



The patch titled

     Prevent multiple inclusion of linux/sysrq.h

has been added to the -mm tree.  Its filename is

     prevent-multiple-inclusion-of-linux-sysrqh.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Prevent multiple inclusion of linux/sysrq.h
From: Thomas Petazzoni <thomas.petazzoni@xxxxxxxx>

Prevent multiple inclusions of include/linux/sysrq.h using traditional
#ifndef..#endif.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/sysrq.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -puN include/linux/sysrq.h~prevent-multiple-inclusion-of-linux-sysrqh include/linux/sysrq.h
--- a/include/linux/sysrq.h~prevent-multiple-inclusion-of-linux-sysrqh
+++ a/include/linux/sysrq.h
@@ -11,6 +11,8 @@
  *	based upon discusions in irc://irc.openprojects.net/#kernelnewbies
  */
 
+#ifndef _LINUX_SYSRQ_H
+#define _LINUX_SYSRQ_H
 
 struct pt_regs;
 struct tty_struct;
@@ -57,3 +59,5 @@ static inline int __reterr(void)
 #define unregister_sysrq_key(ig,nore) __reterr()
 
 #endif
+
+#endif /* _LINUX_SYSRQ_H */
_

Patches currently in -mm which might be from thomas.petazzoni@xxxxxxxx are

prevent-multiple-inclusion-of-linux-sysrqh.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