mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
4254e40729
This adds basic support for RISC-V, specifically RV64G. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Romain Dolbeau <romain.dolbeau@european-processor-initiative.eu> Closes #9540
20 lines
485 B
ArmAsm
20 lines
485 B
ArmAsm
#if defined(__x86_64__)
|
|
#include "setjmp_x86_64.S"
|
|
#elif defined(__i386__)
|
|
#include "setjmp_i386.S"
|
|
#elif defined(__aarch64__)
|
|
#include "setjmp_aarch64.S"
|
|
#elif defined(__arm__)
|
|
#include "setjmp_arm.S"
|
|
#elif defined(__sparc__) && defined(__arch64__)
|
|
#include "setjmp_sparc64.S"
|
|
#elif defined(__powerpc__)
|
|
#include "setjmp_ppc.S"
|
|
#elif defined(__mips__)
|
|
#include "setjmp_mips.S"
|
|
#elif defined(__s390x__)
|
|
#include "setjmp_s390x.S"
|
|
#elif defined(__riscv)
|
|
#include "setjmp_rv64g.S"
|
|
#endif
|