sched/fair: use folio_xchg_access_time() in numa_hint_fault_latency()
[sfrench/cifs-2.6.git] / kernel / sched / fair.c
index 42aefe7e6fdca4ee0bc864e865b20145a6f177ef..3ee9d3564c20cb90211bf8350a86ddaff28f79e4 100644 (file)
@@ -1727,7 +1727,7 @@ static int numa_hint_fault_latency(struct folio *folio)
        int last_time, time;
 
        time = jiffies_to_msecs(jiffies);
-       last_time = xchg_page_access_time(&folio->page, time);
+       last_time = folio_xchg_access_time(folio, time);
 
        return (time - last_time) & PAGE_ACCESS_TIME_MASK;
 }