Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350226
b: refs/heads/master
c: 8f170fa
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and H. Peter Anvin committed Dec 20, 2012
1 parent 2adc827 commit 0cbc757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 7be0b06520e8219e28f54cd05e1310e7e2d921ee
refs/heads/master: 8f170faeb458532282dbfa870f456e42c11d1ebb
8 changes: 2 additions & 6 deletions trunk/arch/x86/kernel/apb_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ void __init apbt_time_init(void)
#ifdef CONFIG_SMP
int i;
struct sfi_timer_table_entry *p_mtmr;
unsigned int percpu_timer;
struct apbt_dev *adev;
#endif

Expand Down Expand Up @@ -346,13 +345,10 @@ void __init apbt_time_init(void)
return;
}
pr_debug("%s: %d CPUs online\n", __func__, num_online_cpus());
if (num_possible_cpus() <= sfi_mtimer_num) {
percpu_timer = 1;
if (num_possible_cpus() <= sfi_mtimer_num)
apbt_num_timers_used = num_possible_cpus();
} else {
percpu_timer = 0;
else
apbt_num_timers_used = 1;
}
pr_debug("%s: %d APB timers used\n", __func__, apbt_num_timers_used);

/* here we set up per CPU timer data structure */
Expand Down

0 comments on commit 0cbc757

Please sign in to comment.