From a31acd3ee8f7dbc0370bdf4a4bfef7a8c13c7542 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sun, 26 Aug 2018 12:56:48 +0200 Subject: x86/mm: Page size aware flush_tlb_mm_range() Use the new tlb_get_unmap_shift() to determine the stride of the INVLPG loop. Cc: Nick Piggin Cc: Will Deacon Cc: "Aneesh Kumar K.V" Cc: Andrew Morton Cc: Dave Hansen Signed-off-by: Peter Zijlstra (Intel) --- mm/pgtable-generic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mm') diff --git a/mm/pgtable-generic.c b/mm/pgtable-generic.c index cf2af04b34b9..532c29276fce 100644 --- a/mm/pgtable-generic.c +++ b/mm/pgtable-generic.c @@ -8,6 +8,7 @@ */ #include +#include #include #include -- cgit v1.2.3