patch-2.2.10 linux/include/asm-alpha/io.h
Next file: linux/include/asm-alpha/irq.h
Previous file: linux/include/asm-alpha/init.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Jun 12 11:52:52 1999
- Orig file:
v2.2.9/linux/include/asm-alpha/io.h
- Orig date:
Fri Apr 16 14:47:31 1999
diff -u --recursive --new-file v2.2.9/linux/include/asm-alpha/io.h linux/include/asm-alpha/io.h
@@ -29,15 +29,16 @@
*/
static inline void __set_hae(unsigned long new_hae)
{
- unsigned long ipl = swpipl(7);
+ unsigned long flags;
+ __save_and_cli(flags);
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;
- setipl(ipl);
+
+ __restore_flags(flags);
}
static inline void set_hae(unsigned long new_hae)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)