summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/sys/ucontext.h
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2023-09-14 16:55:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 17:25:01 +0200
commitb49013485476dd508ae82e6143e1e73795e4c348 (patch)
treef00fffb0fa0b23b9d86e3b3405ad1c18a50f2895 /libc/sysdeps/linux/kvx/sys/ucontext.h
parent1a912c255f0def201615985bfd30827a234cdc67 (diff)
kvx: align specification of user regs
Align the specification of the ptrace interface with how it is specified on RISC-V. Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libc/sysdeps/linux/kvx/sys/ucontext.h')
-rw-r--r--libc/sysdeps/linux/kvx/sys/ucontext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/kvx/sys/ucontext.h b/libc/sysdeps/linux/kvx/sys/ucontext.h
index 548892389..a97b83cad 100644
--- a/libc/sysdeps/linux/kvx/sys/ucontext.h
+++ b/libc/sysdeps/linux/kvx/sys/ucontext.h
@@ -12,12 +12,11 @@
#include <signal.h>
#include <bits/sigcontext.h>
+#define NGREG 70
+
/* Type for general register. */
typedef unsigned long greg_t;
-/* Number of general registers. */
-#define NGREG 64
-
typedef struct ucontext {
unsigned long uc_flags;
struct ucontext *uc_link;