Use ia64_set_fpsr() instead of __asm to set ar.fpsr.
This commit is contained in:
parent
0e3e05fd5d
commit
4c9a6f8d23
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user