LUR: Revert "UPSTREAM: x86/mm: implement arch_faults_on_old_pte() stub on x86"

The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 0c5ddd0dfcff97eb4546d087c2757cf8d149bd57.

Change-Id: I9bd79de6463879a398a28d5921655e3038ef1320
Reviewed-on: https://gerrit.mot.com/2609783
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
xiewen3 2023-05-16 23:10:21 +08:00 • committed by Xiaojun Ji
commit 1a384eabfe

View file

@ -1467,12 +1467,6 @@ static inline bool arch_has_pfn_modify_check(void)
return boot_cpu_has_bug(X86_BUG_L1TF);
}
#define arch_faults_on_old_pte arch_faults_on_old_pte
static inline bool arch_faults_on_old_pte(void)
{
return false;
}
#include <asm-generic/pgtable.h>
#endif /* __ASSEMBLY__ */