]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
treewide: move set_memory_* functions away from cacheflush.h
authorLaura Abbott <labbott@redhat.com>
Mon, 8 May 2017 22:57:59 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:13 +0000 (17:15 -0700)
commit299878bac326c890699c696ebba26f56fe93fc75
treee9f9ba4a5deef3486e0a4371edc6ecccbe6d63f5
parent8ac1ed791401790968fd00ca63ca4fa814677199
treewide: move set_memory_* functions away from cacheflush.h

Patch series "set_memory_* functions header refactor", v3.

The set_memory_* APIs came out of a desire to have a better way to
change memory attributes.  Many of these attributes were linked to cache
functionality so the prototypes were put in cacheflush.h.  These days,
the APIs have grown and have a much wider use than just cache APIs.  To
support this growth, split off set_memory_* and friends into a separate
header file to avoid growing cacheflush.h for APIs that have nothing to
do with caches.

Link: http://lkml.kernel.org/r/1488920133-27229-2-git-send-email-labbott@redhat.com
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/cacheflush.h
arch/arm/include/asm/set_memory.h [new file with mode: 0644]
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/cacheflush.h
arch/s390/include/asm/cacheflush.h
arch/s390/include/asm/set_memory.h [new file with mode: 0644]
arch/x86/include/asm/cacheflush.h
arch/x86/include/asm/set_memory.h [new file with mode: 0644]
include/asm-generic/set_memory.h [new file with mode: 0644]