process_32.c (8cf749a8f506b06ebbf090709d64e81af519184b) | process_32.c (d2aca8f9a64c26dcd9b3eb27db949f830eb80b28) |
---|---|
1/* linux/arch/sparc/kernel/process.c 2 * 3 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net) 4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) 5 */ 6 7/* 8 * This file handles the architecture-dependent parts of process handling.. --- 92 unchanged lines hidden (view full) --- 101 prom_reboot(reboot_command); 102 prom_feval ("reset"); 103 panic("Reboot failed!"); 104} 105 106void machine_power_off(void) 107{ 108 if (auxio_power_register && | 1/* linux/arch/sparc/kernel/process.c 2 * 3 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net) 4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) 5 */ 6 7/* 8 * This file handles the architecture-dependent parts of process handling.. --- 92 unchanged lines hidden (view full) --- 101 prom_reboot(reboot_command); 102 prom_feval ("reset"); 103 panic("Reboot failed!"); 104} 105 106void machine_power_off(void) 107{ 108 if (auxio_power_register && |
109 (strcmp(of_console_device->type, "serial") || scons_pwroff)) 110 *auxio_power_register |= AUXIO_POWER_OFF; | 109 (strcmp(of_console_device->type, "serial") || scons_pwroff)) { 110 u8 power_register = sbus_readb(auxio_power_register); 111 power_register |= AUXIO_POWER_OFF; 112 sbus_writeb(power_register, auxio_power_register); 113 } 114 |
111 machine_halt(); 112} 113 114void show_regs(struct pt_regs *r) 115{ 116 struct reg_window32 *rw = (struct reg_window32 *) r->u_regs[14]; 117 118 show_regs_print_info(KERN_DEFAULT); --- 373 unchanged lines hidden --- | 115 machine_halt(); 116} 117 118void show_regs(struct pt_regs *r) 119{ 120 struct reg_window32 *rw = (struct reg_window32 *) r->u_regs[14]; 121 122 show_regs_print_info(KERN_DEFAULT); --- 373 unchanged lines hidden --- |