Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28246
b: refs/heads/master
c: 9ba8933
h: refs/heads/master
v: v3
  • Loading branch information
Ian Wienand authored and Tony Luck committed Jun 21, 2006
1 parent f3e8146 commit 353471b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: f640f94ec4f39e8a4d91d58354d3e09b28769edf
refs/heads/master: 9ba89334552b96e2127dcafb1c46ce255ecf2667
6 changes: 1 addition & 5 deletions trunk/arch/ia64/kernel/sal.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ static int sal_cache_flush_drops_interrupts;
static void __init
check_sal_cache_flush (void)
{
unsigned long flags, itv;
unsigned long flags;
int cpu;
u64 vector;

Expand All @@ -238,9 +238,6 @@ check_sal_cache_flush (void)
* Schedule a timer interrupt, wait until it's reported, and see if
* SAL_CACHE_FLUSH drops it.
*/
itv = ia64_get_itv();
BUG_ON((itv & (1 << 16)) == 0);

ia64_set_itv(IA64_TIMER_VECTOR);
ia64_set_itm(ia64_get_itc() + 1000);

Expand All @@ -260,7 +257,6 @@ check_sal_cache_flush (void)
ia64_eoi();
}

ia64_set_itv(itv);
local_irq_restore(flags);
put_cpu();
}
Expand Down

0 comments on commit 353471b

Please sign in to comment.