All the users threat them as immutable - annotate them as such.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -47,7 +47,7 @@ void handle_sysrq(int key); · 46 unmodified lines | ||
| 47 | 47 | void __handle_sysrq(int key, bool check_mask); |
| 48 | 48 | int register_sysrq_key(int key, const struct sysrq_key_op *op); |
| 49 | 49 | int unregister_sysrq_key(int key, const struct sysrq_key_op *op); |
| 50 | −extern struct sysrq_key_op *__sysrq_reboot_op; | |
| 50 | +extern const struct sysrq_key_op *__sysrq_reboot_op; | |
| 51 | 51 | |
| 52 | 52 | int sysrq_toggle_support(int enable_mask); |
| 53 | 53 | int sysrq_mask(void); |