Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um: Remove unused kpte_clear_flush macro

This macro has no users, and __flush_tlb_one doesn't exist either.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>

authored by

Tiwei Bie and committed by
Richard Weinberger
2fcd16fb 2df8c8d1

-7
-7
arch/um/include/asm/pgtable.h
··· 359 359 return pte; 360 360 } 361 361 362 - /* Clear a kernel PTE and flush it from the TLB */ 363 - #define kpte_clear_flush(ptep, vaddr) \ 364 - do { \ 365 - pte_clear(&init_mm, (vaddr), (ptep)); \ 366 - __flush_tlb_one((vaddr)); \ 367 - } while (0) 368 - 369 362 #endif