diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-02-20 15:55:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-02-20 15:55:47 -0800 |
commit | db77b8502a4071a59c9424d95f87fe20bdb52c3a (patch) | |
tree | 74defc5eab005a60b92e1a85ddf17fc399165d7b /arch/x86/include | |
parent | 950b6662e26e381cf8834b9b78b08261890ee697 (diff) | |
parent | a13408c205260716e925a734ef399899d69182ba (diff) | |
download | linux-rpi-db77b8502a4071a59c9424d95f87fe20bdb52c3a.tar.gz linux-rpi-db77b8502a4071a59c9424d95f87fe20bdb52c3a.tar.bz2 linux-rpi-db77b8502a4071a59c9424d95f87fe20bdb52c3a.zip |
Merge tag 'asm-generic-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic cleanups from Arnd Bergmann:
"Only three minor changes: a cross-platform series from Mike Rapoport
to consolidate asm/agp.h between architectures, and a correctness
change for __generic_cmpxchg_local() from Matt Evans"
* tag 'asm-generic-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
char/agp: introduce asm-generic/agp.h
char/agp: consolidate {alloc,free}_gatt_pages()
locking/atomic: cmpxchg: Make __generic_cmpxchg_local compare against zero-extended 'old' value
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/agp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/agp.h b/arch/x86/include/asm/agp.h index cd7b14322035..c8c111d8fbd7 100644 --- a/arch/x86/include/asm/agp.h +++ b/arch/x86/include/asm/agp.h @@ -23,10 +23,4 @@ */ #define flush_agp_cache() wbinvd() -/* GATT allocation. Returns/accepts GATT kernel virtual address. */ -#define alloc_gatt_pages(order) \ - ((char *)__get_free_pages(GFP_KERNEL, (order))) -#define free_gatt_pages(table, order) \ - free_pages((unsigned long)(table), (order)) - #endif /* _ASM_X86_AGP_H */ |