mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Fix icp build on FreeBSD
- ROTATE_LEFT is not used by amd64, move it down within the scope it's used to silence a clang warning. - __unused is an alias for the compiler annotation __attribute__((__unused__)) on FreeBSD. Rename the field to ____unused. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9538
This commit is contained in:
committed by
Brian Behlendorf
parent
156f74fc03
commit
32682b0c03
@@ -398,7 +398,7 @@ typedef struct modctl {
|
||||
char mod_delay_unload; /* deferred unload */
|
||||
|
||||
struct modctl_list *mod_requisites; /* mods this one depends on. */
|
||||
void *__unused; /* NOTE: reuse (same size) is OK, */
|
||||
void *____unused; /* NOTE: reuse (same size) is OK, */
|
||||
/* deletion causes mdb.vs.core issues */
|
||||
int mod_loadcnt; /* number of times mod was loaded */
|
||||
int mod_nenabled; /* # of enabled DTrace probes in mod */
|
||||
|
||||
Reference in New Issue
Block a user