projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
600ce1a
)
linux/sysrq.h needs linux/errno.h
author
Tobias Doerffel
<tobias.doerffel@gmail.com>
Sun, 5 Jul 2009 19:08:23 +0000
(12:08 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 6 Jul 2009 20:57:03 +0000
(13:57 -0700)
In include/linux/sysrq.h the constant EINVAL is being used but is undefined
if include/linux/errno.h is not included before.
Fix this by adding #include <linux/errno.h> at the beginning.
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysrq.h
patch
|
blob
|
history
diff --git
a/include/linux/sysrq.h
b/include/linux/sysrq.h
index
98a1d8c
..
99adcdc
100644
(file)
--- a/
include/linux/sysrq.h
+++ b/
include/linux/sysrq.h
@@
-14,6
+14,8
@@
#ifndef _LINUX_SYSRQ_H
#define _LINUX_SYSRQ_H
+#include <linux/errno.h>
+
struct pt_regs;
struct tty_struct;