tools-add-vm_warn_on_vmg-definition.patch removed from -mm tree
The quilt patch titled
Subject: tools: add VM_WARN_ON_VMG definition
has been removed from the -mm tree. Its filename was
tools-add-vm_warn_on_vmg-definition.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Suren Baghdasaryan <[email protected]>
Subject: tools: add VM_WARN_ON_VMG definition
Date: Thu, 16 Jan 2025 10:15:38 -0800
vma tests compilation yields the following error:
vma.c:732:9: error: implicit declaration of function ‘VM_WARN_ON_VMG’
Fix it by adding missing VM_WARN_ON_VMG() definition.
Fixes e3a7ae85f87c ("mm/debug: prefer VM_WARN_ON_VMG() to report VMG debug warnings")
Signed-off-by Suren Baghdasaryan <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Cc Liam R. Howlett <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/testing/vma/vma_internal.h | 1 + 1 file changed, 1 insertion(+)
tools/testing/vma/vma_internal.h renamed from tools/testing/vma/vma_internal.h~tools-add-vm_warn_on_vmg-definition +1 -0
@@ -38,6 +38,7 @@ extern unsigned long dac_mmap_min_addr;#define VM_WARN_ON (_expr) (WARN_ON(_expr))#define VM_WARN_ON_ONCE (_expr) (WARN_ON_ONCE(_expr)) +#define VM_WARN_ON_VMG (_expr, _vmg) (WARN_ON(_expr))#define VM_BUG_ON (_expr) (BUG_ON(_expr))#define VM_BUG_ON_VMA (_expr, _vma) (BUG_ON(_expr))
_
Patches currently in -mm which might be from [email protected] are