Skip to content

Commit

Permalink
[PATCH] 68328serial: sysrq should use emergency_reboot
Browse files Browse the repository at this point in the history
The 68328serial.c driver has a weird local reimplementation of
magic sysrq.  The code is architecture specific enough that calling
machine_restart() is probably ok.  But there is no reason not to call
emergency_restart() so do so.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jul 26, 2005
1 parent 970d324 commit 804ebf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/68328serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
/* show_net_buffers(); */
return;
} else if (ch == 0x12) { /* ^R */
machine_restart(NULL);
emergency_restart();
return;
#endif /* CONFIG_MAGIC_SYSRQ */
}
Expand Down

0 comments on commit 804ebf4

Please sign in to comment.