Merge "riscv64 <sys/user.h>." am: 5b2552a030

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2243974

Change-Id: Id8d8ddcccd7e20470c3ecd43c9a3c3ed74737b1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2022-10-10 17:09:47 +00:00 committed by Automerger Merge Worker
commit c252c44b1a

View file

@ -26,8 +26,7 @@
* SUCH DAMAGE.
*/
#ifndef _SYS_USER_H_
#define _SYS_USER_H_
#pragma once
#include <sys/cdefs.h>
#include <stddef.h> /* For size_t. */
@ -233,6 +232,11 @@ struct user_fpsimd_struct {
uint32_t fpcr;
};
#elif defined(__riscv)
// This space deliberately left blank for now.
// No other libcs have any riscv64-specific structs.
#else
#error "Unsupported architecture."
@ -240,5 +244,3 @@ struct user_fpsimd_struct {
#endif
__END_DECLS
#endif /* _SYS_USER_H_ */