char/agp: introduce asm-generic/agp.h
authorMike Rapoport <rppt@kernel.org>
Sun, 12 Feb 2023 08:46:11 +0000 (10:46 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2023 21:13:29 +0000 (22:13 +0100)
commita13408c205260716e925a734ef399899d69182ba
tree559417021d3bb1dca09def9f5f5aa68cc51bdcc9
parent0e4f2c4567953a230b420f2c4460c3368d6509db
char/agp: introduce asm-generic/agp.h

There are several architectures that duplicate definitions of
map_page_into_agp(), unmap_page_from_agp() and flush_agp_cache().

Define those in asm-generic/agp.h and use it instead of duplicated
per-architecture headers.

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/alpha/include/asm/Kbuild
arch/alpha/include/asm/agp.h [deleted file]
arch/ia64/include/asm/Kbuild
arch/ia64/include/asm/agp.h [deleted file]
arch/parisc/include/asm/Kbuild
arch/parisc/include/asm/agp.h [deleted file]
arch/powerpc/include/asm/Kbuild
arch/sparc/include/asm/Kbuild
arch/sparc/include/asm/agp.h [deleted file]
include/asm-generic/agp.h [moved from arch/powerpc/include/asm/agp.h with 59% similarity]