projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
643f720
)
[PATCH] Prevent multiple inclusion of linux/sysrq.h
author
Thomas Petazzoni
<thomas.petazzoni@enix.org>
Sun, 1 Oct 2006 06:27:54 +0000
(23:27 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:23 +0000
(
00:39
-0700)
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>
include/linux/sysrq.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/sysrq.h
b/include/linux/sysrq.h
index 4812ff60561cb44cf66625691059dee49fce6347..e657e523b9bf62b7a6f0d51850e3b9d3292c64fc 100644
(file)
--- 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 */