Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpf: Remove unused MT_ENTRY define

The range tree introduction removed the need for maple tree usage
but missed removing the MT_ENTRY defined value that was used to
mark maple tree allocated entries.
Remove the MT_ENTRY define.

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Link: https://lore.kernel.org/r/20241223115901.14207-1-lpieralisi@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Lorenzo Pieralisi and committed by
Alexei Starovoitov
654a3381 9468f39b

-2
-2
kernel/bpf/arena.c
··· 257 257 kfree(vml); 258 258 } 259 259 260 - #define MT_ENTRY ((void *)&arena_map_ops) /* unused. has to be valid pointer */ 261 - 262 260 static vm_fault_t arena_vm_fault(struct vm_fault *vmf) 263 261 { 264 262 struct bpf_map *map = vmf->vma->vm_file->private_data;