You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: typo fixes Clean up 'inline is not at beginning' warnings for usb storage Storage class should be first i386: Trivial typo fixes ixj: make ixj_set_tone_off() static spelling fixes fix paniced->panicked typos Spelling fixes for Documentation/atomic_ops.txt move acknowledgment for Mark Adler to CREDITS remove the bouncing email address of David Campbell
This commit is contained in:
@@ -59,7 +59,7 @@ void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr)
|
||||
* bit_num - Indicates which bit number in the cause register
|
||||
*
|
||||
* Outputs :
|
||||
* 1 if succesful, 0 if failure
|
||||
* 1 if successful, 0 if failure
|
||||
*/
|
||||
int enable_galileo_irq(int int_cause, int bit_num)
|
||||
{
|
||||
@@ -83,7 +83,7 @@ int enable_galileo_irq(int int_cause, int bit_num)
|
||||
* bit_num - Indicates which bit number in the cause register
|
||||
*
|
||||
* Outputs :
|
||||
* 1 if succesful, 0 if failure
|
||||
* 1 if successful, 0 if failure
|
||||
*/
|
||||
int disable_galileo_irq(int int_cause, int bit_num)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user