mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
config: remove HAVE_PERCPU_COUNTER_INIT_WITH_GFP
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:
committed by
Brian Behlendorf
parent
f07485c46e
commit
583e2e25b9
@@ -36,12 +36,7 @@ typedef struct percpu_counter wmsum_t;
|
||||
static inline void
|
||||
wmsum_init(wmsum_t *ws, uint64_t value)
|
||||
{
|
||||
|
||||
#ifdef HAVE_PERCPU_COUNTER_INIT_WITH_GFP
|
||||
percpu_counter_init(ws, value, GFP_KERNEL);
|
||||
#else
|
||||
percpu_counter_init(ws, value);
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
||||
Reference in New Issue
Block a user