Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211281
b: refs/heads/master
c: 31e7e93
h: refs/heads/master
i:
  211279: 4b2b618
v: v3
  • Loading branch information
Stefano Stabellini committed Oct 5, 2010
1 parent 00cb76b commit 7970d07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: a947f0f8f7012a5e8689a9cff7209ec6964ec154
refs/heads/master: 31e7e931cdc27f76dc68444edc4df1c0d1bfa6cc
5 changes: 3 additions & 2 deletions trunk/arch/x86/xen/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,9 @@ static void xen_hvm_setup_cpu_clockevents(void)
__init void xen_hvm_init_time_ops(void)
{
/* vector callback is needed otherwise we cannot receive interrupts
* on cpu > 0 */
if (!xen_have_vector_callback && num_present_cpus() > 1)
* on cpu > 0 and at this point we don't know how many cpus are
* available */
if (!xen_have_vector_callback)
return;
if (!xen_feature(XENFEAT_hvm_safe_pvclock)) {
printk(KERN_INFO "Xen doesn't support pvclock on HVM,"
Expand Down

0 comments on commit 7970d07

Please sign in to comment.