From c5de7c407853b807e8d0c764e6325bb1311f39cd Mon Sep 17 00:00:00 2001
From: Xing Li <lixing@loongson.cn>
Date: Tue, 4 Jul 2023 15:10:03 +0800
Subject: [PATCH 2/2] Fix tst-cancel21.c to suit kernel struct sigcontext
 change. * nptl/tst-cancel21.c

---
 nptl/tst-cancel21.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nptl/tst-cancel21.c b/nptl/tst-cancel21.c
index b10fdbc1..a3653f21 100644
--- a/nptl/tst-cancel21.c
+++ b/nptl/tst-cancel21.c
@@ -217,14 +217,14 @@ static int
 do_test (void)
 {
   stack_t ss;
-  ss.ss_sp = malloc (2 * SIGSTKSZ);
+  ss.ss_sp = malloc (4 * SIGSTKSZ);
   if (ss.ss_sp == NULL)
     {
       puts ("failed to allocate alternate stack");
       return 1;
     }
   ss.ss_flags = 0;
-  ss.ss_size = 2 * SIGSTKSZ;
+  ss.ss_size = 4 * SIGSTKSZ;
   if (sigaltstack (&ss, NULL) < 0)
     {
       printf ("sigaltstack failed %m\n");
-- 
2.27.0

