Messages in this thread | | | From | Rusty Russell <> | Subject | [PULL] cpumask complete deprecation | Date | Mon, 20 Apr 2015 22:10:23 +0930 |
| |
The following changes since commit 6587457b4b3d663b237a0f95ddf6e67d1828c8ea:
Merge tag 'dma-buf-for-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits/dma-buf (2015-03-04 09:59:51 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/cpumask-next-for-linus
for you to fetch changes up to e4afa120c98252e44390067c3a6cc775cde30659:
cpumask: remove __first_cpu / __next_cpu (2015-04-19 14:35:32 +0930)
---------------------------------------------------------------- This is the final removal (after several years!) of the obsolete cpus_* functions, prompted by their mis-use in staging.
With these function removed, all cpu functions should only iterate to nr_cpu_ids, so we finally only allocate that many bits when cpumasks are allocated offstack.
Thanks, Rusty.
---------------------------------------------------------------- Oleg Drokin (3): staging/lustre/ptlrpc: Do not use deprecated cpus_* functions staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_ staging/lustre/o2iblnd: Don't use cpus_weight
Rasmus Villemoes (1): linux/cpumask.h: add typechecking to cpumask_test_cpu
Rusty Russell (21): cpumask: fix cpu-hotplug documentation ia64: Use for_each_cpu_and() and cpumask_any_and() instead of temp var. drivers: fix up obsolete cpu function usage. ia64: fix up obsolete cpu function usage. um: fix up obsolete cpu function usage. x86: fix up obsolete cpu function usage. mips: fix up obsolete cpu function usage. arm64: fix up obsolete cpu function usage. tile: fix up obsolete cpu function usage. parisc: fix up obsolete cpu function usage. blackfin: fix up obsolete cpu function usage. CPU_MASK_ALL/CPU_MASK_NONE: remove from deprecated region. powerpc: fix deprecated CPU_MASK_CPU0 usage. ia64: remove deprecated cpus_ usage. x86: fix more deprecated cpu function usage. mips: fix obsolete cpumask_of_cpu usage. cpumask: remove deprecated functions. Fix weird uses of num_online_cpus(). cpumask: only allocate nr_cpumask_bits. cpumask: resurrect CPU_MASK_CPU0 cpumask: remove __first_cpu / __next_cpu
Documentation/cpu-hotplug.txt | 2 +- arch/arm64/kernel/smp.c | 2 +- arch/blackfin/mach-bf561/smp.c | 2 +- arch/ia64/include/asm/acpi.h | 6 +- arch/ia64/kernel/acpi.c | 2 +- arch/ia64/kernel/iosapic.c | 2 +- arch/ia64/kernel/irq_ia64.c | 36 ++--- arch/ia64/kernel/mca.c | 10 +- arch/ia64/kernel/msi_ia64.c | 10 +- arch/ia64/kernel/numa.c | 10 +- arch/ia64/kernel/salinfo.c | 24 +-- arch/ia64/kernel/setup.c | 11 +- arch/ia64/kernel/smp.c | 6 +- arch/ia64/kernel/smpboot.c | 42 ++--- arch/ia64/kernel/topology.c | 6 +- arch/m32r/kernel/smpboot.c | 2 +- arch/mips/bcm63xx/irq.c | 4 +- arch/mips/cavium-octeon/smp.c | 4 +- arch/mips/include/asm/smp.h | 2 +- arch/mips/kernel/crash.c | 8 +- arch/mips/kernel/mips-mt-fpaff.c | 4 +- arch/mips/kernel/process.c | 2 +- arch/mips/kernel/smp-bmips.c | 2 +- arch/mips/kernel/smp-cmp.c | 4 +- arch/mips/kernel/smp-cps.c | 4 +- arch/mips/kernel/smp-mt.c | 4 +- arch/mips/kernel/smp.c | 26 +-- arch/mips/kernel/traps.c | 6 +- arch/mips/loongson/loongson-3/numa.c | 4 +- arch/mips/loongson/loongson-3/smp.c | 2 +- arch/mips/paravirt/paravirt-smp.c | 2 +- arch/mips/sgi-ip27/ip27-init.c | 2 +- arch/mips/sgi-ip27/ip27-klnuma.c | 10 +- arch/mips/sgi-ip27/ip27-memory.c | 2 +- arch/parisc/kernel/irq.c | 4 +- arch/powerpc/include/asm/cputhreads.h | 2 +- arch/sh/include/asm/mmu_context.h | 2 +- arch/sh/kernel/smp.c | 6 +- arch/sparc/kernel/time_32.c | 4 +- arch/tile/kernel/setup.c | 2 +- arch/um/kernel/smp.c | 14 +- arch/x86/kernel/apic/x2apic_cluster.c | 12 +- arch/x86/kernel/irq.c | 4 +- arch/x86/platform/uv/tlb_uv.c | 6 +- drivers/clocksource/dw_apb_timer.c | 3 +- drivers/cpuidle/coupled.c | 6 +- drivers/crypto/n2_core.c | 4 +- drivers/irqchip/irq-gic-v3.c | 2 +- drivers/irqchip/irq-mips-gic.c | 6 +- drivers/net/ethernet/tile/tilegx.c | 4 +- drivers/scsi/hpsa.c | 6 +- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 4 +- .../staging/lustre/lustre/libcfs/linux/linux-cpu.c | 102 ++++++------ drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c | 8 +- drivers/staging/lustre/lustre/ptlrpc/service.c | 9 +- include/linux/cpumask.h | 176 ++------------------- lib/Kconfig | 4 - lib/cpumask.c | 28 ---- 58 files changed, 248 insertions(+), 435 deletions(-)
| |