diff options
author | Christoph Hellwig <hch@lst.de> | 2022-02-23 08:28:52 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-23 13:34:08 +0100 |
commit | 4509d950a6764d18a99776614513d280cca422d8 (patch) | |
tree | 1398e1b77fa7baabac55458825c68d7a2e4bc79a /arch/x86/mm | |
parent | cfb92440ee71adcc2105b0890bb01ac3cddb8507 (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/mm')
-rw-r--r-- | arch/x86/mm/pat/set_memory.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/mm/pat/set_memory.c b/arch/x86/mm/pat/set_memory.c index b4072115c8ef..9bdaf828ee68 100644 --- a/arch/x86/mm/pat/set_memory.c +++ b/arch/x86/mm/pat/set_memory.c @@ -2121,12 +2121,6 @@ int set_pages_array_wc(struct page **pages, int numpages) } EXPORT_SYMBOL(set_pages_array_wc); -int set_pages_array_wt(struct page **pages, int numpages) -{ - return _set_pages_array(pages, numpages, _PAGE_CACHE_MODE_WT); -} -EXPORT_SYMBOL_GPL(set_pages_array_wt); - int set_pages_wb(struct page *page, int numpages) { unsigned long addr = (unsigned long)page_address(page); |