]> git.neil.brown.name Git - history.git/commit
[PATCH] switch_mm and enter_lazy_tlb: remove cpu arg
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 7 Jul 2003 06:01:50 +0000 (23:01 -0700)
committerSteve French <cifs.adm@hostme.bitkeeper.com>
Mon, 7 Jul 2003 06:01:50 +0000 (23:01 -0700)
commit8a6879c603dc4ea40f89fb1bda8f2b5039e19396
treec0d883a41eff495d708bba2b95b2839065e8ab90
parentb993be7e4517f328fd6bd8bcea2f038c894a292e
[PATCH] switch_mm and enter_lazy_tlb: remove cpu arg

switch_mm and enter_lazy_tlb take a CPU arg, which is always
smp_processor_id().  This is misleading, and pointless if they use
per-cpu variables or other optimizations.  gcc will eliminate
redundant smp_processor_id() (in inline functions) anyway.

This removes that arg from all the architectures.
31 files changed:
arch/cris/mm/tlb.c
arch/i386/kernel/cpu/common.c
arch/parisc/kernel/smp.c
arch/s390/kernel/setup.c
arch/um/kernel/process_kern.c
arch/x86_64/kernel/setup64.c
fs/aio.c
include/asm-alpha/machvec.h
include/asm-alpha/mmu_context.h
include/asm-arm/mmu_context.h
include/asm-arm26/mmu_context.h
include/asm-cris/mmu_context.h
include/asm-h8300/mmu_context.h
include/asm-i386/mmu_context.h
include/asm-ia64/mmu_context.h
include/asm-m68k/mmu_context.h
include/asm-m68knommu/mmu_context.h
include/asm-mips/mmu_context.h
include/asm-mips64/mmu_context.h
include/asm-parisc/mmu_context.h
include/asm-ppc/mmu_context.h
include/asm-ppc64/mmu_context.h
include/asm-s390/mmu_context.h
include/asm-sh/mmu_context.h
include/asm-sparc/mmu_context.h
include/asm-sparc64/mmu_context.h
include/asm-um/mmu_context.h
include/asm-v850/mmu_context.h
include/asm-x86_64/mmu_context.h
kernel/exit.c
kernel/sched.c