linux/arch/arm/mm
Linus Torvalds bf4afc53b7 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
This was done entirely with mindless brute force, using

    git grep -l '\<k[vmz]*alloc_objs*(.*, GFP_KERNEL)' |
        xargs sed -i 's/\(alloc_objs*(.*\), GFP_KERNEL)/\1)/'

to convert the new alloc_obj() users that had a simple GFP_KERNEL
argument to just drop that argument.

Note that due to the extreme simplicity of the scripting, any slightly
more complex cases spread over multiple lines would not be triggered:
they definitely exist, but this covers the vast bulk of the cases, and
the resulting diff is also then easier to check automatically.

For the same reason the 'flex' versions will be done as a separate
conversion.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-02-21 17:09:51 -08:00
..
abort-ev4.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-ev4t.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-ev5t.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-ev5tj.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-ev6.S ARM: 9263/1: use .arch directives instead of assembler command line flags 2022-11-08 18:36:17 +00:00
abort-ev7.S ARM: 9263/1: use .arch directives instead of assembler command line flags 2022-11-08 18:36:17 +00:00
abort-lv4t.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-macro.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
abort-nommu.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
alignment.c ARM: fix branch predictor hardening 2025-12-10 12:22:15 +00:00
cache-b15-rac.c syscore: Pass context data to callbacks 2025-11-14 10:01:52 +01:00
cache-fa.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-feroceon-l2.c arm: Handle KCOV __init vs inline mismatches 2025-07-21 21:43:39 -07:00
cache-l2x0-pmu.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cache-l2x0.c ARM: 9451/1: mm: l2x0: use string choices helper 2025-10-02 08:44:27 +01:00
cache-nop.S ARM: 9387/2: mm: Rewrite cacheflush vtables in CFI safe C 2024-04-29 14:14:18 +01:00
cache-tauros2.c arm: Handle KCOV __init vs inline mismatches 2025-07-21 21:43:39 -07:00
cache-tauros3.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 171 2019-05-30 11:26:39 -07:00
cache-uniphier.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cache-v4.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-v4wb.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-v4wt.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-v6.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-v7.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-v7m.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
cache-xsc3l2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
cache.c ARM: 9387/2: mm: Rewrite cacheflush vtables in CFI safe C 2024-04-29 14:14:18 +01:00
context.c ARM: mm: make vmalloc_seq handling SMP safe 2022-01-25 09:53:52 +01:00
copypage-fa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
copypage-feroceon.c ARM: 9263/1: use .arch directives instead of assembler command line flags 2022-11-08 18:36:17 +00:00
copypage-v4mc.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
copypage-v4wb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
copypage-v4wt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
copypage-v6.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
copypage-xsc3.c ARM: PXA: fix multi-cpu build of xsc3 2022-05-07 22:56:16 +02:00
copypage-xscale.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
dma-mapping-nommu.c ARM: 9435/1: ARM/nommu: Fix typo "absence" 2024-11-12 23:51:05 +00:00
dma-mapping.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dump.c mm/treewide: replace pmd_large() with pmd_leaf() 2024-03-06 13:04:19 -08:00
extable.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fault-armv.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
fault.c ARM: fix branch predictor hardening 2025-12-10 12:22:15 +00:00
fault.h ARM: 9304/1: add prototype for function called only from asm 2023-06-19 09:35:52 +01:00
flush.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
fsr-2level.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fsr-3level.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
idmap.c ARM: 9420/1: smp: Fix SMP for xip kernels 2024-11-12 16:38:47 +00:00
init.c arch, mm: consolidate initialization of SPARSE memory model 2026-01-26 20:02:18 -08:00
iomap.c ARM: 8923/1: mm: include <asm/vga.h> for vga_base 2019-10-31 16:58:54 +00:00
ioremap.c ARM: 9447/1: arm/memremap: fix arch_memremap_can_ram_remap() 2025-04-16 16:27:18 +01:00
kasan_init.c kasan: call kasan_init_generic in kasan_init 2025-09-21 14:21:58 -07:00
Kconfig vdso: Drop Kconfig GENERIC_VDSO_DATA_STORE 2025-09-04 11:23:50 +02:00
l2c-common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
l2c-l2x0-resume.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
mm.h arm: implement the new page table range API 2023-08-24 16:20:20 -07:00
mmap.c mm: make arch_get_unmapped_area() take vm_flags by default 2024-09-09 16:39:13 -07:00
mmu.c arm: make initialization of zero page independent of the memory map 2026-01-26 20:02:13 -08:00
nommu.c arm: make initialization of zero page independent of the memory map 2026-01-26 20:02:13 -08:00
pabort-legacy.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pabort-v6.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pabort-v7.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pageattr.c minmax: add in_range() macro 2023-08-24 16:20:18 -07:00
pgd.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
physaddr.c ARM: 9467/1: mm: Don't use %pK through printk 2026-01-31 12:59:09 +00:00
pmsa-v7.c ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range() 2021-03-25 10:25:20 +00:00
pmsa-v8.c ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00
proc-arm7tdmi.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-arm9tdmi.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-arm720.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-arm740.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-arm920.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm922.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm925.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm926.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm940.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm946.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm1020.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm1020e.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm1022.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-arm1026.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-fa526.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-feroceon.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-macros.S ARM: 9387/2: mm: Rewrite cacheflush vtables in CFI safe C 2024-04-29 14:14:18 +01:00
proc-mohawk.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-sa110.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-sa1100.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-syms.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
proc-v6.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-v7-2level.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-v7-3level.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-v7-bugs.c ARM: 9213/1: Print message about disabled Spectre workarounds only once 2022-07-06 22:44:49 +01:00
proc-v7.S ARM: 9434/1: cfi: Fix compilation corner case 2024-11-12 23:51:05 +00:00
proc-v7m.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc-xsc3.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
proc-xscale.S ARM: 9388/2: mm: Type-annotate all per-processor assembly routines 2024-04-29 14:14:19 +01:00
proc.c ARM: 9408/1: mm: CFI: Fix some erroneous reset prototypes 2024-07-02 09:19:14 +01:00
ptdump_debugfs.c ARM: 9074/1: ptdump: convert to DEFINE_SHOW_ATTRIBUTE 2021-04-18 19:15:13 +01:00
pv-fixup-asm.S ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00
tlb-fa.S ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00
tlb-v4.S kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI 2025-09-24 14:29:14 -07:00
tlb-v4wb.S ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00
tlb-v4wbi.S ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00
tlb-v6.S ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00
tlb-v7.S ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00
tlb.c ARM: 9384/2: mm: Make tlbflush routines CFI safe 2024-04-29 14:14:15 +01:00