summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/set_memory.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-23 08:28:52 +0100
committerBorislav Petkov <bp@suse.de>2022-02-23 13:34:08 +0100
commit4509d950a6764d18a99776614513d280cca422d8 (patch)
tree1398e1b77fa7baabac55458825c68d7a2e4bc79a /arch/x86/include/asm/set_memory.h
parentcfb92440ee71adcc2105b0890bb01ac3cddb8507 (diff)
x86/pat: Remove the unused set_pages_array_wt() function
Commit 623dffb2a2e0 ("x86/mm/pat: Add set_memory_wt() for Write-Through type") added it but there were no users. [ bp: Add a commit message. ] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220223072852.616143-1-hch@lst.de
Diffstat (limited to 'arch/x86/include/asm/set_memory.h')
-rw-r--r--arch/x86/include/asm/set_memory.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/set_memory.h b/arch/x86/include/asm/set_memory.h
index ff0f2d90338a..60bdede41466 100644
--- a/arch/x86/include/asm/set_memory.h
+++ b/arch/x86/include/asm/set_memory.h
@@ -53,7 +53,6 @@ int set_memory_global(unsigned long addr, int numpages);
int set_pages_array_uc(struct page **pages, int addrinarray);
int set_pages_array_wc(struct page **pages, int addrinarray);
-int set_pages_array_wt(struct page **pages, int addrinarray);
int set_pages_array_wb(struct page **pages, int addrinarray);
/*