linux/drivers/char/agp
Mike Rapoport 0e4f2c4567 char/agp: consolidate {alloc,free}_gatt_pages()
There is a copy of alloc_gatt_pages() and free_gatt_pages in several
architectures in arch/$ARCH/include/asm/agp.h. All the copies do exactly
the same: alias alloc_gatt_pages() to __get_free_pages(GFP_KERNEL) and
alias free_gatt_pages() to free_pages().

Define alloc_gatt_pages() and free_gatt_pages() in drivers/char/agp/agp.h
and drop per-architecture definitions.

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-02-13 22:13:12 +01:00
..
agp.h char/agp: consolidate {alloc,free}_gatt_pages() 2023-02-13 22:13:12 +01:00
ali-agp.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
alpha-agp.c char: agp: Change return type to vm_fault_t 2018-07-10 13:48:11 +10:00
amd64-agp.c agp/amd64: Update to DEFINE_SIMPLE_DEV_PM_OPS() 2022-10-26 11:25:49 -05:00
amd-k7-agp.c agp/amd-k7: Convert to generic power management 2022-10-26 11:25:28 -05:00
ati-agp.c agp/ati: Convert to generic power management 2022-10-26 11:25:33 -05:00
backend.c agp: Documentation fixes 2022-01-14 15:12:22 +01:00
compat_ioctl.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
compat_ioctl.h
efficeon-agp.c agp/efficeon: Convert to generic power management 2022-10-26 11:25:16 -05:00
frontend.c agp: Include "compat_ioctl.h" where necessary 2022-01-14 15:11:42 +01:00
generic.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
hp-agp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
i460-agp.c
intel-agp.c agp/intel: Convert to generic power management 2022-10-26 11:25:22 -05:00
intel-agp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel-gtt.c IOMMU Updates for Linux v5.20/v6.0: 2022-08-06 10:42:38 -07:00
isoch.c agp: remove unused variable arqsz in agp_3_5_enable() 2020-01-03 16:08:05 +10:00
Kconfig parisc: parisc-agp requires SBA IOMMU driver 2021-04-06 11:46:39 +02:00
Makefile char/agp: Disable frontend without CONFIG_DRM_LEGACY 2020-11-18 22:47:45 +01:00
nvidia-agp.c agp/nvidia: Convert to generic power management 2022-10-26 11:25:38 -05:00
parisc-agp.c parisc/agp: Annotate parisc agp init functions with __init 2021-11-30 21:49:33 +01:00
sis-agp.c agp/sis: Update to DEFINE_SIMPLE_DEV_PM_OPS() 2022-10-26 11:25:52 -05:00
sworks-agp.c agp/sworks: Remove unused variable 'current_size' 2022-01-14 15:15:59 +01:00
uninorth-agp.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
via-agp.c agp/via: Update to DEFINE_SIMPLE_DEV_PM_OPS() 2022-10-26 11:25:56 -05:00