lkml.org 
[lkml]   [2020]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] Remove duplicated kmap code
Date
From: Ira Weiny <ira.weiny@intel.com>

The kmap infrastructure has been copied almost verbatim to every architecture.
This series consolidates obvious duplicated code. (k[un]map_atmoic has some
additional duplication between some of the architectures but the differences
were such to not warrant further changes.)

0day built successfully to cover all the architectures I can't readily build.

Ira Weiny (5):
arch/kmap: Remove BUG_ON()
arch/kmap: Remove redundant arch specific kmaps
arch/kunmap: Remove duplicate kunmap implementations
arch/kmap_atomic: Consolidate duplicate code
arch/kunmap_atomic: Consolidate duplicate code

arch/arc/include/asm/highmem.h | 11 -------
arch/arc/mm/highmem.c | 20 ++-----------
arch/arm/include/asm/highmem.h | 3 --
arch/arm/mm/highmem.c | 28 ++----------------
arch/csky/include/asm/highmem.h | 3 +-
arch/csky/mm/highmem.c | 28 ++++--------------
arch/microblaze/include/asm/highmem.h | 17 -----------
arch/microblaze/mm/highmem.c | 10 ++-----
arch/mips/include/asm/highmem.h | 3 +-
arch/mips/mm/highmem.c | 25 +++-------------
arch/nds32/include/asm/highmem.h | 3 --
arch/nds32/mm/highmem.c | 31 ++------------------
arch/parisc/include/asm/cacheflush.h | 2 --
arch/powerpc/include/asm/highmem.h | 17 -----------
arch/powerpc/mm/highmem.c | 9 ++----
arch/sparc/include/asm/highmem.h | 17 -----------
arch/sparc/mm/highmem.c | 9 ++----
arch/x86/include/asm/highmem.h | 4 ---
arch/x86/mm/highmem_32.c | 30 ++------------------
arch/xtensa/include/asm/highmem.h | 14 +--------
arch/xtensa/mm/highmem.c | 10 ++-----
include/linux/highmem.h | 41 +++++++++++++++++++++++++--
22 files changed, 75 insertions(+), 260 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2020-04-26 07:55    [W:0.152 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site