process.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | process.c (89b3098703bd2aa3237ef10a704e6a5838e6ea69) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * PARISC Architecture-dependent parts of process handling 4 * based on the work for i386 5 * 6 * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> 7 * Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> 8 * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> --- 169 unchanged lines hidden (view full) --- 178 179 pr_warn("PDC does not provide rendezvous function.\n"); 180#endif 181 while (1); 182} 183 184void __cpuidle arch_cpu_idle(void) 185{ | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * PARISC Architecture-dependent parts of process handling 4 * based on the work for i386 5 * 6 * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> 7 * Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> 8 * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> --- 169 unchanged lines hidden (view full) --- 178 179 pr_warn("PDC does not provide rendezvous function.\n"); 180#endif 181 while (1); 182} 183 184void __cpuidle arch_cpu_idle(void) 185{ |
186 raw_local_irq_enable(); 187 | |
188 /* nop on real hardware, qemu will idle sleep. */ 189 asm volatile("or %%r10,%%r10,%%r10\n":::); 190} 191 192static int __init parisc_idle_init(void) 193{ 194 if (!running_on_qemu) 195 cpu_idle_poll_ctrl(1); --- 102 unchanged lines hidden --- | 186 /* nop on real hardware, qemu will idle sleep. */ 187 asm volatile("or %%r10,%%r10,%%r10\n":::); 188} 189 190static int __init parisc_idle_init(void) 191{ 192 if (!running_on_qemu) 193 cpu_idle_poll_ctrl(1); --- 102 unchanged lines hidden --- |