]> git.baikalelectronics.ru Git - kernel.git/commit
linux/sysrq.h needs linux/errno.h
authorTobias Doerffel <tobias.doerffel@gmail.com>
Sun, 5 Jul 2009 19:08:23 +0000 (12:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Jul 2009 20:57:03 +0000 (13:57 -0700)
commit6fd8d7c54a112d3b3084fa02cf47c947d47b6a09
tree5ba710949c37cb4363abe6853d6f6ffd4fe0e450
parentc5cc05e95d097ee21b1855b741e204c87ba7dfc4
linux/sysrq.h needs linux/errno.h

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