diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:06:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:06:00 +0000 |
commit | b15a952c52a6825376d3e7f6c1bf5c886c6d8b74 (patch) | |
tree | 1500f2f8f276908a36d8126cb632c0d6b1276764 /debian/patches-rt/0025-highmem-Remove-unused-functions.patch | |
parent | Adding upstream version 5.10.209. (diff) | |
download | linux-b15a952c52a6825376d3e7f6c1bf5c886c6d8b74.tar.xz linux-b15a952c52a6825376d3e7f6c1bf5c886c6d8b74.zip |
Adding debian version 5.10.209-2.debian/5.10.209-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0025-highmem-Remove-unused-functions.patch')
-rw-r--r-- | debian/patches-rt/0025-highmem-Remove-unused-functions.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches-rt/0025-highmem-Remove-unused-functions.patch b/debian/patches-rt/0025-highmem-Remove-unused-functions.patch new file mode 100644 index 000000000..55deed269 --- /dev/null +++ b/debian/patches-rt/0025-highmem-Remove-unused-functions.patch @@ -0,0 +1,43 @@ +From 2060c9ea726ebd649d8d2e596fa2acebef644cd8 Mon Sep 17 00:00:00 2001 +From: Thomas Gleixner <tglx@linutronix.de> +Date: Tue, 3 Nov 2020 10:27:14 +0100 +Subject: [PATCH 025/323] highmem: Remove unused functions +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz + +Nothing uses totalhigh_pages_dec() and totalhigh_pages_set(). + +Signed-off-by: Thomas Gleixner <tglx@linutronix.de> +Signed-off-by: Sebastian Andrzej Siewior <bigeasy@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 b25df1f8d48d..3297bfca78ed 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); +-- +2.43.0 + |