about summary refs log tree commit diff
path: root/arch/loongarch64/bits/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch64/bits/user.h')
-rw-r--r--arch/loongarch64/bits/user.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/loongarch64/bits/user.h b/arch/loongarch64/bits/user.h
new file mode 100644
index 00000000..5a71d132
--- /dev/null
+++ b/arch/loongarch64/bits/user.h
@@ -0,0 +1,5 @@
+#define ELF_NGREG    45
+#define ELF_NFPREG   33
+
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
+typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];