Lines Matching refs:code
315 static void default_trap(int code, struct pt_regs *regs) in default_trap() argument
317 printk(KERN_ERR "Trap %d on CPU %d\n", code, smp_processor_id()); in default_trap()
321 void (*cpu_lpmc) (int code, struct pt_regs *regs) = default_trap;
404 void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long offset) in parisc_terminate() argument
421 switch(code){ in parisc_terminate()
436 msg, code, regs, offset); in parisc_terminate()
452 void handle_interruption(int code, struct pt_regs *regs) in handle_interruption() argument
458 switch(code) { in handle_interruption()
468 regs, code, 0); in handle_interruption()
501 die_if_kernel("Illegal instruction", regs, code); in handle_interruption()
512 die_if_kernel("Privileged operation", regs, code); in handle_interruption()
535 die_if_kernel("Privileged register usage", regs, code); in handle_interruption()
654 die_if_kernel("Protection id trap", regs, code); in handle_interruption()
658 if (code == 7) in handle_interruption()
688 parisc_terminate("Unexpected interruption", regs, code, 0); in handle_interruption()
718 parisc_terminate("Kernel Fault", regs, code, fault_address); in handle_interruption()
724 do_page_fault(regs, code, fault_address); in handle_interruption()