remove cr0 related function call in non-x86 arch