Use ia64_set_fpsr() instead of __asm to set ar.fpsr.

This commit is contained in:
dfr 2001-10-21 14:01:48 +00:00
parent 0e3e05fd5d
commit 4c9a6f8d23

View File

@ -505,7 +505,7 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
* TODO: Disable interrupts, floating point etc.
* Maybe flush cache and tlb
*/
__asm __volatile("mov ar.fpsr=%0" :: "r"(IA64_FPSR_DEFAULT));
ia64_set_fpsr(IA64_FPSR_DEFAULT);
/*
* TODO: Get critical system information (if possible, from the