mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
x86: be more power-efficient when waiting forever
The effect is unchanged, but the processor will be spending most of its time in the C1 or C1E power state rather than C0. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
b80e458350
commit
a5ca03ea2f
1 file changed
+2
-1
@@ -1448,7 +1448,8 @@ void __init do_early_page_fault(struct cpu_user_regs *regs)
|
||||
printk("Stack dump: ");
|
||||
while ( ((long)stk & ((PAGE_SIZE - 1) & ~(BYTES_PER_LONG - 1))) != 0 )
|
||||
printk("%p ", _p(*stk++));
|
||||
for ( ; ; ) ;
|
||||
for ( ; ; )
|
||||
halt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||