mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
config: remove HAVE_WAIT_ON_BIT_ACTION
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -27,22 +27,6 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/wait.h>
|
||||
|
||||
#ifndef HAVE_WAIT_ON_BIT_ACTION
|
||||
#define spl_wait_on_bit(word, bit, mode) wait_on_bit(word, bit, mode)
|
||||
#else
|
||||
|
||||
static inline int
|
||||
spl_bit_wait(void *word)
|
||||
{
|
||||
schedule();
|
||||
return (0);
|
||||
}
|
||||
|
||||
#define spl_wait_on_bit(word, bit, mode) \
|
||||
wait_on_bit(word, bit, spl_bit_wait, mode)
|
||||
|
||||
#endif /* HAVE_WAIT_ON_BIT_ACTION */
|
||||
|
||||
#ifdef HAVE_WAIT_QUEUE_ENTRY_T
|
||||
typedef wait_queue_head_t spl_wait_queue_head_t;
|
||||
typedef wait_queue_entry_t spl_wait_queue_entry_t;
|
||||
|
||||
Reference in New Issue
Block a user