Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f18190bd authored by Lee Revell's avatar Lee Revell Committed by Adrian Bunk
Browse files

fix paniced->panicked typos



In a testament to the utter simplicity and logic of the English
language ;-), I found a single correct use - in kernel/panic.c - and
10-15 incorrect ones.

Signed-Off-By: default avatarLee Revell <rlrevell@joe-job.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent a0ebb3ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ end
document trapinfo
	Run info threads and lookup pid of thread #1
	'trapinfo <pid>' will tell you by which trap & possibly
	addresthe kernel paniced.
	address the kernel panicked.
end


+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static void nmi_shootdown_cpus(void)
void machine_crash_shutdown(struct pt_regs *regs)
{
	/* This function is only called after the system
	 * has paniced or is otherwise in a critical state.
	 * has panicked or is otherwise in a critical state.
	 * The minimum amount of code to allow a kexec'd kernel
	 * to run successfully needs to happen here.
	 *
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
#define POWERDOWN_TIMEOUT	120

/*
 * Blink frequency during reboot grace period and when paniced.
 * Blink frequency during reboot grace period and when panicked.
 */
#define POWERDOWN_FREQ		(HZ / 4)
#define PANIC_FREQ		(HZ / 8)
+6 −6
Original line number Diff line number Diff line
@@ -28,13 +28,13 @@

#define POWERDOWN_TIMEOUT	120
/*
 * Blink frequency during reboot grace period and when paniced.
 * Blink frequency during reboot grace period and when panicked.
 */
#define POWERDOWN_FREQ		(HZ / 4)
#define PANIC_FREQ		(HZ / 8)

static struct timer_list power_timer, blink_timer, debounce_timer;
static int has_paniced, shuting_down;
static int has_panicked, shuting_down;

static void ip32_machine_restart(char *command) __attribute__((noreturn));
static void ip32_machine_halt(void) __attribute__((noreturn));
@@ -109,7 +109,7 @@ static void debounce(unsigned long data)
	}
	CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A);

	if (has_paniced)
	if (has_panicked)
		ip32_machine_restart(NULL);

	enable_irq(MACEISA_RTC_IRQ);
@@ -117,7 +117,7 @@ static void debounce(unsigned long data)

static inline void ip32_power_button(void)
{
	if (has_paniced)
	if (has_panicked)
		return;

	if (shuting_down || kill_proc(1, SIGINT, 1)) {
@@ -161,9 +161,9 @@ static int panic_event(struct notifier_block *this, unsigned long event,
{
	unsigned long led;

	if (has_paniced)
	if (has_panicked)
		return NOTIFY_DONE;
	has_paniced = 1;
	has_panicked = 1;

	/* turn off the green LED */
	led = mace->perif.ctrl.misc | MACEISA_LED_GREEN;
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs)

	/*
	 * This function is only called after the system
	 * has paniced or is otherwise in a critical state.
	 * has panicked or is otherwise in a critical state.
	 * The minimum amount of code to allow a kexec'd kernel
	 * to run successfully needs to happen here.
	 *
Loading