Skip to contentSkip to conversation

cpumask obsolete removals and remaining replacements

GIT PULL Rusty Russell 1 participant 1 message Jun 26, 2009

lore
Share & tools
lore
#0 lore raw

Hi Linus,

I know this is late; not everything goes through linux-next and I wanted
to make sure noone added more uses of obsolete apis before I tore them out.

This removes the final arch cpumask-on-stack passing versions of functions for those maintainers who didn't roll the patches into their own trees. Cleans up a few laggard conversions. Also makes clear that the old cpus_* functions are deprecated, moving them to bottom of header.

Nothing surprising, but if you want to make a point about the merge window, don't pull and they can happily sit in linux-next for another cycle.

Thanks,
Rusty.

The following changes since commit 28d0325ce6e0a52f53d8af687e6427fee59004d3:
Linus Torvalds (1):

        Linux 2.6.31-rc1                                                             

are available in the git repository at:

ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master

Li Zefan (1):
cpumask: use zalloc_cpumask_var() where possible

Nobuhiro Iwamatsu (1):
cpumask: Remove mask field from comments

Rusty Russell (36):
cpumask: remove the now-obsoleted pcibus_to_cpumask(): alpha
cpumask: remove the now-obsoleted pcibus_to_cpumask(): mips
cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
cpumask: remove obsolete node_to_cpumask now everyone uses cpumask_of_node
cpumask: remove dangerous CPU_MASK_ALL_PTR
cpumask: remove dangerous CPU_MASK_ALL_PTR, &CPU_MASK_ALL.: mips
cpumask: remove unused cpu_mask_all
cpumask: remove last assignment to mask field of struct irqaction.
cpumask: remove unused mask field from struct irqaction.
cpumask: don't define set_cpus_allowed() if CONFIG_CPUMASK_OFFSTACK=y
ia64: convert last user of smp_call_function_mask
cpumask: remove the deprecated smp_call_function_mask()
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: core
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: sparc
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: s390
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: powerpc
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: ia64
cpumask: arch_send_call_function_ipi_mask: alpha
cpumask: arch_send_call_function_ipi_mask: m32r
cpumask: arch_send_call_function_ipi_mask: mips
cpumask: arch_send_call_function_ipi_mask: powerpc
cpumask: arch_send_call_function_ipi_mask: s390
cpumask: remove arch_send_call_function_ipi
cpumask: Use accessors for cpu_*_mask: m32r
cpumask: Use accessors for cpu_*_mask: mips
cpumask: Use accessors for cpu_*_mask: powerpc
cpumask: Use accessors for cpu_*_mask: um
cpumask: use mm_cpumask() wrapper: arm
cpumask: use mm_cpumask() wrapper: m32r
cpumask: use mm_cpumask() wrapper: mn10300
cpumask: use mm_cpumask() wrapper: mips
cpumask: use mm_cpumask() wrapper: um
cpumask: use mm_cpumask() wrapper: x86
cpumask: use new-style cpumask ops in mm/quicklist.
cpumask: remove unused deprecated functions, avoid accusations of insanity
cpumask: Move deprecated functions to end of header.

 arch/alpha/include/asm/smp.h               |    2 +-
 arch/alpha/include/asm/topology.h          |   18 - 
 arch/alpha/kernel/smp.c                    |   14 +-
 arch/arm/include/asm/cacheflush.h          |    8 +-
 arch/arm/include/asm/mmu_context.h         |    7 +-
 arch/arm/include/asm/smp.h                 |    1 - 
 arch/arm/include/asm/tlbflush.h            |    4 +-
 arch/arm/kernel/smp.c                      |   10 +-
 arch/arm/mm/context.c                      |    2 +-
 arch/arm/mm/flush.c                        |   10 +-
 arch/ia64/include/asm/smp.h                |    1 - 
 arch/ia64/include/asm/topology.h           |    3 - 
 arch/ia64/kernel/smp.c                     |    2 +-
 arch/m32r/include/asm/mmu_context.h        |    4 +-
 arch/m32r/include/asm/smp.h                |    2 +-
 arch/m32r/kernel/smp.c                     |   30 +-
 arch/m32r/kernel/smpboot.c                 |    2 +-
 arch/mips/alchemy/common/time.c            |    2 +-
 arch/mips/include/asm/mach-ip27/topology.h |    2 - 
 arch/mips/include/asm/mmu_context.h        |   10 +-
 arch/mips/include/asm/smp-ops.h            |    2 +-
 arch/mips/include/asm/smp.h                |    2 +-
 arch/mips/kernel/smp-cmp.c                 |    9 +-
 arch/mips/kernel/smp-mt.c                  |    4 +-
 arch/mips/kernel/smp-up.c                  |    3 +-
 arch/mips/kernel/smp.c                     |    4 +-
 arch/mips/mipssim/sim_smtc.c               |    5 +-
 arch/mips/mm/c-octeon.c                    |    2 +-
 arch/mips/mti-malta/malta-smtc.c           |    4 +-
 arch/mips/pmc-sierra/yosemite/smp.c        |    4 +-
 arch/mips/sgi-ip27/ip27-memory.c           |    2 +-
 arch/mips/sgi-ip27/ip27-smp.c              |    4 +-
 arch/mips/sibyte/bcm1480/smp.c             |    5 +-
 arch/mips/sibyte/sb1250/smp.c              |    5 +-
 arch/mn10300/include/asm/mmu_context.h     |   12 +-
 arch/parisc/include/asm/smp.h              |    1 - 
 arch/powerpc/include/asm/smp.h             |    2 +-
 arch/powerpc/include/asm/topology.h        |   12 - 
 arch/powerpc/kernel/setup-common.c         |    4 +-
 arch/powerpc/kernel/smp.c                  |    4 +-
 arch/powerpc/platforms/powermac/setup.c    |    2 +-
 arch/s390/include/asm/smp.h                |    2 +-
 arch/s390/include/asm/topology.h           |    1 -
 arch/s390/kernel/smp.c                     |    4 +-
 arch/sh/include/asm/smp.h                  |    1 -
 arch/sh/include/asm/topology.h             |    1 -
 arch/sparc/include/asm/smp_64.h            |    1 -
 arch/sparc/include/asm/topology_64.h       |   16 -
 arch/um/include/asm/mmu_context.h          |    4 +-
 arch/um/kernel/smp.c                       |    2 +-
 arch/x86/include/asm/mmu_context.h         |    6 +-
 arch/x86/include/asm/smp.h                 |    1 -
 arch/x86/kernel/apic/io_apic.c             |    7 +-
 arch/x86/kernel/ldt.c                      |    4 +-
 arch/x86/kernel/process.c                  |    6 +-
 arch/x86/kernel/setup.c                    |    1 -
 arch/x86/kernel/smpboot.c                  |    9 +-
 arch/x86/mm/tlb.c                          |   15 +-
 arch/x86/xen/mmu.c                         |    4 +-
 drivers/acpi/processor_perflib.c           |    3 +-
 drivers/acpi/processor_throttling.c        |    3 +-
 drivers/net/sfc/efx.c                      |    3 +-
 drivers/oprofile/buffer_sync.c             |    3 +-
 include/asm-generic/topology.h             |   17 -
 include/linux/cpumask.h                    |  709 ++++++++++------------------
 include/linux/interrupt.h                  |    2 -
 include/linux/sched.h                      |    3 +
 include/linux/smp.h                        |   11 -
 include/linux/topology.h                   |    6 -
 init/main.c                                |    5 -
 kernel/smp.c                               |    7 -
 kernel/trace/trace.c                       |    7 +-
 mm/quicklist.c                             |    3 +-
 virt/kvm/kvm_main.c                        |    3 +-
 74 files changed, 389 insertions(+), 707 deletions(-)