kernel/arch/arm64/include/asm/pgtable.h
.. .. @@ -996,8 +996,7 @@ 996 996 */ 997 997 static inline bool arch_faults_on_old_pte(void) 998 998 { 999 - /* The register read below requires a stable CPU to make any sense */1000 - cant_migrate();999 + WARN_ON(preemptible());1001 1000 1002 1001 return !cpu_has_hw_af(); 1003 1002 }