Open the kernel/panic.c file and place a call to the panicShake(); subroutine directly before the panicBlink conditional section.
打开 kernel/panic.c 文件,并在紧挨着 panicBlink 条件部分之前的位置上放置一个对 panicShake(); 子程序的调用。
Open the file drivers/hwmon/hdaps.c and add the following text to the includes section: #include <linux/reboot.h>. Also add the new subroutine below directly after the hdaps_read_pair subroutine
打开 drivers/hwmon/hdaps.c 文件,然后将以下文本添加到 include 部分中:#include <linux/reboot.h>。
应用推荐