summaryrefslogtreecommitdiff
path: root/include/linux/sysrq.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@enix.org>2006-09-30 23:27:54 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 00:39:23 -0700
commit89bbc03c01f68e627a2b120963f136e2815f0d84 (patch)
treee2f02e3eb615f36ca4d5e7ebb9d77889f7957bb2 /include/linux/sysrq.h
parent643f720cea989d2913fc0120a2384fecc1be1f9a (diff)
downloadlwn-89bbc03c01f68e627a2b120963f136e2815f0d84.tar.gz
lwn-89bbc03c01f68e627a2b120963f136e2815f0d84.zip
[PATCH] Prevent multiple inclusion of linux/sysrq.h
Prevent multiple inclusions of include/linux/sysrq.h using traditional #ifndef..#endif. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sysrq.h')
-rw-r--r--include/linux/sysrq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
index 4812ff60561c..e657e523b9bf 100644
--- a/include/linux/sysrq.h
+++ b/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 */