patch-2.1.87 linux/include/asm-m68k/keyboard.h

Next file: linux/include/asm-m68k/mac_asc.h
Previous file: linux/include/asm-m68k/ioctls.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/include/asm-m68k/keyboard.h linux/include/asm-m68k/keyboard.h
@@ -49,8 +49,16 @@
 	mach_kbd_leds(leds);
 }
 
+#ifdef CONFIG_MAGIC_SYSRQ
+#define kbd_is_sysrq(keycode)	((keycode) == mach_sysrq_key && \
+								 (up_flag || \
+								  (shift_state & mach_sysrq_shift_mask) == \
+								  mach_sysrq_shift_state))
+#define kbd_sysrq_xlate			mach_sysrq_xlate
+#endif
+
 #define kbd_init_hw	mach_keyb_init
 
 #endif /* __KERNEL__ */
 
-#endif /* __ASMm68k_KEYBOARD_H */
+#endif /* __M68K_KEYBOARD_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov