diff options
Diffstat (limited to 'include/linux/sysrq.h')
-rw-r--r-- | include/linux/sysrq.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h index 609e8ca5f534..4ee650315119 100644 --- a/include/linux/sysrq.h +++ b/include/linux/sysrq.h | |||
@@ -31,7 +31,7 @@ struct tty_struct; | |||
31 | #define SYSRQ_ENABLE_RTNICE 0x0100 | 31 | #define SYSRQ_ENABLE_RTNICE 0x0100 |
32 | 32 | ||
33 | struct sysrq_key_op { | 33 | struct sysrq_key_op { |
34 | void (*handler)(int, struct tty_struct *); | 34 | void (*handler)(int); |
35 | char *help_msg; | 35 | char *help_msg; |
36 | char *action_msg; | 36 | char *action_msg; |
37 | int enable_mask; | 37 | int enable_mask; |
@@ -58,6 +58,10 @@ static inline void handle_sysrq(int key, struct tty_struct *tty) | |||
58 | { | 58 | { |
59 | } | 59 | } |
60 | 60 | ||
61 | static inline void __handle_sysrq(int key, struct tty_struct *tty, int check_mask); | ||
62 | { | ||
63 | } | ||
64 | |||
61 | static inline int register_sysrq_key(int key, struct sysrq_key_op *op) | 65 | static inline int register_sysrq_key(int key, struct sysrq_key_op *op) |
62 | { | 66 | { |
63 | return -EINVAL; | 67 | return -EINVAL; |