Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231644
b: refs/heads/master
c: e2609f6
h: refs/heads/master
v: v3
  • Loading branch information
Ivan Kokshaysky authored and Matt Turner committed Jan 17, 2011
1 parent 5d162f2 commit 02d082a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 00649643b1f4e1644f644f612c6bb390e69196ad
refs/heads/master: e2609f6aa2dce5d960ea1fe32f57524c315dede5
8 changes: 5 additions & 3 deletions trunk/arch/alpha/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@
*/
extern inline void __set_hae(unsigned long new_hae)
{
unsigned long flags;
local_irq_save(flags);
unsigned long flags = swpipl(IPL_MAX);

barrier();

alpha_mv.hae_cache = new_hae;
*alpha_mv.hae_register = new_hae;
mb();
/* Re-read to make sure it was written. */
new_hae = *alpha_mv.hae_register;

local_irq_restore(flags);
setipl(flags);
barrier();
}

extern inline void set_hae(unsigned long new_hae)
Expand Down

0 comments on commit 02d082a

Please sign in to comment.