summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/uapi/asm/elf.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-05-01 11:52:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-05-01 11:52:32 -0700
commitd75439d64a1e2b35e0f08906205b00279753cbed (patch)
treea1dbe1281ef228f7999cd21ca3380931eacd8dd5 /arch/openrisc/include/uapi/asm/elf.h
parent3f2a1903af06672f416efd506f029066b9243cbd (diff)
parentc91b4a07655d5ba67962a08dfac8bd7f45ad049c (diff)
downloadlwn-d75439d64a1e2b35e0f08906205b00279753cbed.tar.gz
lwn-d75439d64a1e2b35e0f08906205b00279753cbed.zip
Merge tag 'for-linus' of https://github.com/openrisc/linux
Pull OpenRISC updates from Stafford Horne: "Two things for OpenRISC this cycle: - Small cleanup for device tree cpu iteration from Rob Herring - Add support for storing, restoring and accessing user space FPU state, to allow for libc to support the FPU on OpenRISC" * tag 'for-linus' of https://github.com/openrisc/linux: openrisc: Add floating point regset openrisc: Support floating point user api openrisc: Support storing and restoring fpu state openrisc: Properly store r31 to pt_regs on unhandled exceptions openrisc: Use common of_get_cpu_node() instead of open-coding
Diffstat (limited to 'arch/openrisc/include/uapi/asm/elf.h')
-rw-r--r--arch/openrisc/include/uapi/asm/elf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/openrisc/include/uapi/asm/elf.h b/arch/openrisc/include/uapi/asm/elf.h
index e892d5061685..6868f81c281e 100644
--- a/arch/openrisc/include/uapi/asm/elf.h
+++ b/arch/openrisc/include/uapi/asm/elf.h
@@ -53,8 +53,7 @@ typedef unsigned long elf_greg_t;
#define ELF_NGREG (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-/* A placeholder; OR32 does not have fp support yes, so no fp regs for now. */
-typedef unsigned long elf_fpregset_t;
+typedef struct __or1k_fpu_state elf_fpregset_t;
/* EM_OPENRISC is defined in linux/elf-em.h */
#define EM_OR32 0x8472