Loading arch/sparc64/mm/fault.c +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kprobes.h> #include <linux/kallsyms.h> #include <asm/page.h> #include <asm/pgtable.h> Loading Loading @@ -132,6 +133,8 @@ static void bad_kernel_pc(struct pt_regs *regs, unsigned long vaddr) printk(KERN_CRIT "OOPS: Bogus kernel PC [%016lx] in fault handler\n", regs->tpc); printk(KERN_CRIT "OOPS: RPC [%016lx]\n", regs->u_regs[15]); print_symbol("RPC: <%s>\n", regs->u_regs[15]); printk(KERN_CRIT "OOPS: Fault was to vaddr[%lx]\n", vaddr); __asm__("mov %%sp, %0" : "=r" (ksp)); show_stack(current, ksp); Loading drivers/scsi/esp.c +4 −8 Original line number Diff line number Diff line Loading @@ -2754,18 +2754,15 @@ static int esp_do_data_finale(struct esp *esp) */ static int esp_should_clear_sync(struct scsi_cmnd *sp) { u8 cmd1 = sp->cmnd[0]; u8 cmd2 = sp->data_cmnd[0]; u8 cmd = sp->cmnd[0]; /* These cases are for spinning up a disk and * waiting for that spinup to complete. */ if (cmd1 == START_STOP || cmd2 == START_STOP) if (cmd == START_STOP) return 0; if (cmd1 == TEST_UNIT_READY || cmd2 == TEST_UNIT_READY) if (cmd == TEST_UNIT_READY) return 0; /* One more special case for SCSI tape drives, Loading @@ -2773,8 +2770,7 @@ static int esp_should_clear_sync(struct scsi_cmnd *sp) * completion of a rewind or tape load operation. */ if (sp->device->type == TYPE_TAPE) { if (cmd1 == MODE_SENSE || cmd2 == MODE_SENSE) if (cmd == MODE_SENSE) return 0; } Loading include/asm-sparc/signal.h +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ struct sigstack { * statically allocated data.. which is NOT GOOD. * */ #define SA_STATIC_ALLOC 0x80 #define SA_STATIC_ALLOC 0x8000 #endif #include <asm-generic/signal.h> Loading Loading
arch/sparc64/mm/fault.c +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kprobes.h> #include <linux/kallsyms.h> #include <asm/page.h> #include <asm/pgtable.h> Loading Loading @@ -132,6 +133,8 @@ static void bad_kernel_pc(struct pt_regs *regs, unsigned long vaddr) printk(KERN_CRIT "OOPS: Bogus kernel PC [%016lx] in fault handler\n", regs->tpc); printk(KERN_CRIT "OOPS: RPC [%016lx]\n", regs->u_regs[15]); print_symbol("RPC: <%s>\n", regs->u_regs[15]); printk(KERN_CRIT "OOPS: Fault was to vaddr[%lx]\n", vaddr); __asm__("mov %%sp, %0" : "=r" (ksp)); show_stack(current, ksp); Loading
drivers/scsi/esp.c +4 −8 Original line number Diff line number Diff line Loading @@ -2754,18 +2754,15 @@ static int esp_do_data_finale(struct esp *esp) */ static int esp_should_clear_sync(struct scsi_cmnd *sp) { u8 cmd1 = sp->cmnd[0]; u8 cmd2 = sp->data_cmnd[0]; u8 cmd = sp->cmnd[0]; /* These cases are for spinning up a disk and * waiting for that spinup to complete. */ if (cmd1 == START_STOP || cmd2 == START_STOP) if (cmd == START_STOP) return 0; if (cmd1 == TEST_UNIT_READY || cmd2 == TEST_UNIT_READY) if (cmd == TEST_UNIT_READY) return 0; /* One more special case for SCSI tape drives, Loading @@ -2773,8 +2770,7 @@ static int esp_should_clear_sync(struct scsi_cmnd *sp) * completion of a rewind or tape load operation. */ if (sp->device->type == TYPE_TAPE) { if (cmd1 == MODE_SENSE || cmd2 == MODE_SENSE) if (cmd == MODE_SENSE) return 0; } Loading
include/asm-sparc/signal.h +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ struct sigstack { * statically allocated data.. which is NOT GOOD. * */ #define SA_STATIC_ALLOC 0x80 #define SA_STATIC_ALLOC 0x8000 #endif #include <asm-generic/signal.h> Loading