Provide a dummy function fatal_signal_pending, because it will be used in
the following patch in the function mm_take_all_locks.

This commit avoids a test failure when the following patch will be apllied.

Signed-off-by: Mikulas Patocka <[email protected]>
Cc: [email protected]

---
 tools/testing/vma/vma_internal.h |    5 +++++
 1 file changed, 5 insertions(+)

Index: mm/tools/testing/vma/vma_internal.h
===================================================================
--- mm.orig/tools/testing/vma/vma_internal.h    2026-01-04 21:19:10.000000000 
+0100
+++ mm/tools/testing/vma/vma_internal.h 2026-01-04 21:19:10.000000000 +0100
@@ -1364,6 +1364,11 @@ static inline bool signal_pending(void *
        return false;
 }
 
+static inline bool fatal_signal_pending(void *p)
+{
+       return false;
+}
+
 static inline bool is_file_hugepages(struct file *file)
 {
        return false;

Reply via email to