Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222915
b: refs/heads/master
c: bc15fde
h: refs/heads/master
i:
  222913: fa08678
  222911: 57de753
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Nov 23, 2010
1 parent ddee73c commit 01001dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2d0879112825cddddd6c4f9b2645ff32acd6dc5
refs/heads/master: bc15fde77fc5d9ec2eec6066a5ab554ea1266a0a
20 changes: 5 additions & 15 deletions trunk/arch/x86/xen/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,20 +250,6 @@ char * __init xen_memory_setup(void)
return "Xen";
}

static void xen_idle(void)
{
local_irq_disable();

if (need_resched())
local_irq_enable();
else {
current_thread_info()->status &= ~TS_POLLING;
smp_mb__after_clear_bit();
safe_halt();
current_thread_info()->status |= TS_POLLING;
}
}

/*
* Set the bit indicating "nosegneg" library variants should be used.
* We only need to bother in pure 32-bit mode; compat 32-bit processes
Expand Down Expand Up @@ -360,7 +346,11 @@ void __init xen_arch_setup(void)
MAX_GUEST_CMDLINE > COMMAND_LINE_SIZE ?
COMMAND_LINE_SIZE : MAX_GUEST_CMDLINE);

pm_idle = xen_idle;
/* Set up idle, making sure it calls safe_halt() pvop */
#ifdef CONFIG_X86_32
boot_cpu_data.hlt_works_ok = 1;
#endif
pm_idle = default_idle;

fiddle_vdso();
}

0 comments on commit 01001dd

Please sign in to comment.