Re: [PATCH] RISC-V: Fix feature_bits.c failed to compile on non-Linux targets

2024-10-14 Thread Yangyu Chen
This patch can be dropped. I noticed Kito finally fixed that before committing to master after I submitted this patch. > On Oct 14, 2024, at 18:18, Yangyu Chen wrote: > > The feature_bits.c file failed to compile on non-Linux targets because > we forgot to remove the __riscv_vendor_feature_bits

[PATCH] RISC-V: Fix feature_bits.c failed to compile on non-Linux targets

2024-10-14 Thread Yangyu Chen
The feature_bits.c file failed to compile on non-Linux targets because we forgot to remove the __riscv_vendor_feature_bits.vendorID set when target is not Linux. This commit fixed this and also has several improvements including: - Initialize all data to zero when syscall is not supported. - Add d