[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <160470524907.397.8217098587465620351.tip-bot2@tip-bot2>
Date: Fri, 06 Nov 2020 23:27:29 -0000
From: "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Christoph Hellwig <hch@....de>,
Andrew Morton <akpm@...ux-foundation.org>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: core/mm] highmem: Remove unused functions
The following commit has been merged into the core/mm branch of tip:
Commit-ID: b819fd9da38508e0504624b87d9983fcc4237f3c
Gitweb: https://git.kernel.org/tip/b819fd9da38508e0504624b87d9983fcc4237f3c
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Tue, 03 Nov 2020 10:27:14 +01:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Fri, 06 Nov 2020 23:14:53 +01:00
highmem: Remove unused functions
Nothing uses totalhigh_pages_dec() and totalhigh_pages_set().
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Christoph Hellwig <hch@....de>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Link: https://lore.kernel.org/r/20201103095856.732891880@linutronix.de
---
include/linux/highmem.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/linux/highmem.h b/include/linux/highmem.h
index 14e6202..f5c3133 100644
--- a/include/linux/highmem.h
+++ b/include/linux/highmem.h
@@ -104,21 +104,11 @@ static inline void totalhigh_pages_inc(void)
atomic_long_inc(&_totalhigh_pages);
}
-static inline void totalhigh_pages_dec(void)
-{
- atomic_long_dec(&_totalhigh_pages);
-}
-
static inline void totalhigh_pages_add(long count)
{
atomic_long_add(count, &_totalhigh_pages);
}
-static inline void totalhigh_pages_set(long val)
-{
- atomic_long_set(&_totalhigh_pages, val);
-}
-
void kmap_flush_unused(void);
struct page *kmap_to_page(void *addr);
Powered by blists - more mailing lists