]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/mm: Move pgprot2cachemode out of line
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Apr 2020 15:27:43 +0000 (17:27 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 20 Apr 2020 10:39:17 +0000 (12:39 +0200)
commit7fa3e10f0f3646108a1018004d0f571c3222dc9f
tree2b354bc252096a5d2f282d8d2eeddd8f0de2b089
parent1f6f655e01adebf5bd5e6c3da2e843c104ded051
x86/mm: Move pgprot2cachemode out of line

This helper is only used by x86 low-level MM code.  Also remove the
entirely pointless __pte2cachemode_tbl export as that symbol can be
marked static now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200408152745.1565832-3-hch@lst.de
arch/x86/include/asm/memtype.h
arch/x86/include/asm/pgtable_types.h
arch/x86/mm/init.c