mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
Add linux kernel module support
Setup linux kernel module support, this includes: - zfs context for kernel/user - kernel module build system integration - kernel module macros - kernel module symbol export - kernel module options Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
@@ -722,3 +722,19 @@ txg_list_next(txg_list_t *tl, void *p, uint64_t txg)
|
||||
|
||||
return (tn == NULL ? NULL : (char *)tn - tl->tl_offset);
|
||||
}
|
||||
|
||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
||||
EXPORT_SYMBOL(txg_init);
|
||||
EXPORT_SYMBOL(txg_fini);
|
||||
EXPORT_SYMBOL(txg_sync_start);
|
||||
EXPORT_SYMBOL(txg_sync_stop);
|
||||
EXPORT_SYMBOL(txg_hold_open);
|
||||
EXPORT_SYMBOL(txg_rele_to_quiesce);
|
||||
EXPORT_SYMBOL(txg_rele_to_sync);
|
||||
EXPORT_SYMBOL(txg_register_callbacks);
|
||||
EXPORT_SYMBOL(txg_delay);
|
||||
EXPORT_SYMBOL(txg_wait_synced);
|
||||
EXPORT_SYMBOL(txg_wait_open);
|
||||
EXPORT_SYMBOL(txg_stalled);
|
||||
EXPORT_SYMBOL(txg_sync_waiting);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user