Commit 89bbc03c authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Linus Torvalds

[PATCH] Prevent multiple inclusion of linux/sysrq.h

Prevent multiple inclusions of include/linux/sysrq.h using traditional
#ifndef..#endif.
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@enix.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 643f720c
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
* based upon discusions in irc://irc.openprojects.net/#kernelnewbies * based upon discusions in irc://irc.openprojects.net/#kernelnewbies
*/ */
#ifndef _LINUX_SYSRQ_H
#define _LINUX_SYSRQ_H
struct pt_regs; struct pt_regs;
struct tty_struct; struct tty_struct;
...@@ -57,3 +59,5 @@ static inline int __reterr(void) ...@@ -57,3 +59,5 @@ static inline int __reterr(void)
#define unregister_sysrq_key(ig,nore) __reterr() #define unregister_sysrq_key(ig,nore) __reterr()
#endif #endif
#endif /* _LINUX_SYSRQ_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment