[PATCH 0/2] Kill unused parameter to smp_call_function and friends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

It bothers me how the smp call functions accept a 'nonatomic' or 'retry'
parameter (depending on who you ask), but don't do anything with it.
So kill that silly thing.

Two patches here, one for smp_call_function*() and one for on_each_cpu().
This patchset applies on top of the generic-ipi patchset just sent out.

 arch/alpha/kernel/core_marvel.c        |    2 +-
 arch/alpha/kernel/process.c            |    2 +-
 arch/alpha/kernel/smp.c                |   10 +++++-----
 arch/alpha/oprofile/common.c           |    6 +++---
 arch/arm/kernel/smp.c                  |    6 +++---
 arch/arm/oprofile/op_model_mpcore.c    |    2 +-
 arch/arm/vfp/vfpmodule.c               |    2 +-
 arch/cris/arch-v32/kernel/smp.c        |    5 ++---
 arch/ia64/kernel/mca.c                 |    6 +++---
 arch/ia64/kernel/palinfo.c             |    2 +-
 arch/ia64/kernel/perfmon.c             |    6 +++---
 arch/ia64/kernel/process.c             |    2 +-
 arch/ia64/kernel/smp.c                 |    4 ++--
 arch/ia64/kernel/smpboot.c             |    2 +-
 arch/ia64/kernel/uncached.c            |    5 ++---
 arch/ia64/sn/kernel/sn2/sn_hwperf.c    |    2 +-
 arch/m32r/kernel/smp.c                 |    4 ++--
 arch/mips/kernel/irq-rm9000.c          |    4 ++--
 arch/mips/kernel/smp.c                 |    8 ++++----
 arch/mips/mm/c-r4k.c                   |   18 +++++++++---------
 arch/mips/oprofile/common.c            |    6 +++---
 arch/mips/pmc-sierra/yosemite/prom.c   |    2 +-
 arch/mips/sibyte/cfe/setup.c           |    2 +-
 arch/mips/sibyte/sb1250/prom.c         |    2 +-
 arch/parisc/kernel/cache.c             |    6 +++---
 arch/parisc/kernel/smp.c               |    2 +-
 arch/parisc/mm/init.c                  |    2 +-
 arch/powerpc/kernel/rtas.c             |    2 +-
 arch/powerpc/kernel/smp.c              |    2 +-
 arch/powerpc/kernel/tau_6xx.c          |    4 ++--
 arch/powerpc/kernel/time.c             |    2 +-
 arch/powerpc/mm/slice.c                |    2 +-
 arch/powerpc/oprofile/common.c         |    6 +++---
 arch/s390/appldata/appldata_base.c     |    4 ++--
 arch/s390/kernel/smp.c                 |   22 +++++++++-------------
 arch/s390/kernel/time.c                |    6 +++---
 arch/sh/kernel/smp.c                   |   14 +++++++-------
 arch/sparc64/kernel/smp.c              |   12 ++++--------
 arch/sparc64/mm/hugetlbpage.c          |    2 +-
 arch/um/kernel/smp.c                   |    3 +--
 arch/x86/kernel/cpu/mcheck/mce_64.c    |    6 +++---
 arch/x86/kernel/cpu/mcheck/non-fatal.c |    2 +-
 arch/x86/kernel/cpu/mtrr/main.c        |    4 ++--
 arch/x86/kernel/cpu/perfctr-watchdog.c |    4 ++--
 arch/x86/kernel/cpuid.c                |    2 +-
 arch/x86/kernel/io_apic_32.c           |    2 +-
 arch/x86/kernel/io_apic_64.c           |    2 +-
 arch/x86/kernel/ldt.c                  |    2 +-
 arch/x86/kernel/nmi_32.c               |    6 +++---
 arch/x86/kernel/nmi_64.c               |    6 +++---
 arch/x86/kernel/smp.c                  |    2 +-
 arch/x86/kernel/tlb_32.c               |    2 +-
 arch/x86/kernel/tlb_64.c               |    2 +-
 arch/x86/kernel/vsyscall_64.c          |    4 ++--
 arch/x86/kvm/vmx.c                     |    4 ++--
 arch/x86/kvm/x86.c                     |    2 +-
 arch/x86/lib/msr-on-cpu.c              |    8 ++++----
 arch/x86/mach-voyager/voyager_smp.c    |    4 ++--
 arch/x86/mm/pageattr.c                 |    4 ++--
 arch/x86/oprofile/nmi_int.c            |   10 +++++-----
 arch/x86/xen/smp.c                     |    2 +-
 drivers/acpi/processor_idle.c          |    2 +-
 drivers/char/agp/generic.c             |    2 +-
 drivers/cpuidle/cpuidle.c              |    2 +-
 drivers/lguest/x86/core.c              |    4 ++--
 fs/buffer.c                            |    2 +-
 include/asm-alpha/smp.h                |    2 +-
 include/asm-sparc/smp.h                |    2 +-
 include/linux/smp.h                    |   12 ++++++------
 kernel/hrtimer.c                       |    2 +-
 kernel/profile.c                       |    6 +++---
 kernel/rcupdate.c                      |    2 +-
 kernel/smp.c                           |    6 ++----
 kernel/softirq.c                       |    4 ++--
 kernel/time/tick-broadcast.c           |    2 +-
 mm/page_alloc.c                        |    2 +-
 mm/slab.c                              |    4 ++--
 mm/slub.c                              |    2 +-
 net/core/flow.c                        |    2 +-
 net/iucv/iucv.c                        |   16 ++++++++--------
 virt/kvm/kvm_main.c                    |   14 +++++++-------
 81 files changed, 179 insertions(+), 192 deletions(-)

-- 
Jens Axboe


--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux