diff options
Diffstat (limited to 'module/os')
-rw-r--r-- | module/os/freebsd/zfs/abd_os.c | 12 | ||||
-rw-r--r-- | module/os/linux/zfs/abd_os.c | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/module/os/freebsd/zfs/abd_os.c b/module/os/freebsd/zfs/abd_os.c index f438841cd..6b967bc07 100644 --- a/module/os/freebsd/zfs/abd_os.c +++ b/module/os/freebsd/zfs/abd_os.c @@ -419,15 +419,3 @@ abd_iter_unmap(struct abd_iter *aiter) aiter->iter_mapaddr = NULL; aiter->iter_mapsize = 0; } - -void -abd_enter_critical(unsigned long flags) -{ - critical_enter(); -} - -void -abd_exit_critical(unsigned long flags) -{ - critical_exit(); -} diff --git a/module/os/linux/zfs/abd_os.c b/module/os/linux/zfs/abd_os.c index 57e415ef3..a8e8f404d 100644 --- a/module/os/linux/zfs/abd_os.c +++ b/module/os/linux/zfs/abd_os.c @@ -803,18 +803,6 @@ abd_iter_unmap(struct abd_iter *aiter) aiter->iter_mapsize = 0; } -void -abd_enter_critical(unsigned long flags) -{ - local_irq_save(flags); -} - -void -abd_exit_critical(unsigned long flags) -{ - local_irq_restore(flags); -} - #if defined(_KERNEL) /* * bio_nr_pages for ABD. |