diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-08-24 08:03:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-08-24 08:04:56 +0200 |
commit | 384c687fb4ad0774aaae58ed7f43cc738aa57a73 (patch) | |
tree | da35994e3876cdcb9f7d144c6e372b0a942db02d /lib/cpumask.c | |
parent | ALSA: hda: cleanup definitions for multi-link registers (diff) | |
parent | ALSA: doc: Drop snd_dma_continuous_data() usages (diff) | |
download | linux-dev-384c687fb4ad0774aaae58ed7f43cc738aa57a73.tar.xz linux-dev-384c687fb4ad0774aaae58ed7f43cc738aa57a73.zip |
Merge branch 'topic/memalloc-cleanup' into for-next
ALSA: Drop hackish GFP giveaway for CONTINUOUS pages
This is a series of cleanup patches for dropping the current hackish
way of passing the GFP_* flags for CONTINOUS and VMALLOC memory
allocations. There are only three users for this legacy feature, and
all of them seem superfluous. And, if any driver requires the memory
restriction in future, it can now pass the proper device pointer for
specifying the DMA mask.
Link: https://lore.kernel.org/r/20220823115740.14123-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/cpumask.c')
-rw-r--r-- | lib/cpumask.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c index 8baeb37e23d3..f0ae119be8c4 100644 --- a/lib/cpumask.c +++ b/lib/cpumask.c @@ -109,7 +109,6 @@ void __init free_bootmem_cpumask_var(cpumask_var_t mask) } #endif -#if NR_CPUS > 1 /** * cpumask_local_spread - select the i'th cpu with local numa cpu's first * @i: index number @@ -197,4 +196,3 @@ unsigned int cpumask_any_distribute(const struct cpumask *srcp) return next; } EXPORT_SYMBOL(cpumask_any_distribute); -#endif /* NR_CPUS */ |