Linus Torvalds
0429fbc0bd
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
...
Pull percpu consistent-ops changes from Tejun Heo:
"Way back, before the current percpu allocator was implemented, static
and dynamic percpu memory areas were allocated and handled separately
and had their own accessors. The distinction has been gone for many
years now; however, the now duplicate two sets of accessors remained
with the pointer based ones - this_cpu_*() - evolving various other
operations over time. During the process, we also accumulated other
inconsistent operations.
This pull request contains Christoph's patches to clean up the
duplicate accessor situation. __get_cpu_var() uses are replaced with
with this_cpu_ptr() and __this_cpu_ptr() with raw_cpu_ptr().
Unfortunately, the former sometimes is tricky thanks to C being a bit
messy with the distinction between lvalues and pointers, which led to
a rather ugly solution for cpumask_var_t involving the introduction of
this_cpu_cpumask_var_ptr().
This converts most of the uses but not all. Christoph will follow up
with the remaining conversions in this merge window and hopefully
remove the obsolete accessors"
* 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: (38 commits)
irqchip: Properly fetch the per cpu offset
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix
ia64: sn_nodepda cannot be assigned to after this_cpu conversion. Use __this_cpu_write.
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t
Revert "powerpc: Replace __get_cpu_var uses"
percpu: Remove __this_cpu_ptr
clocksource: Replace __this_cpu_ptr with raw_cpu_ptr
sparc: Replace __get_cpu_var uses
avr32: Replace __get_cpu_var with __this_cpu_write
blackfin: Replace __get_cpu_var uses
tile: Use this_cpu_ptr() for hardware counters
tile: Replace __get_cpu_var uses
powerpc: Replace __get_cpu_var uses
alpha: Replace __get_cpu_var
ia64: Replace __get_cpu_var uses
s390: cio driver &__get_cpu_var replacements
s390: Replace __get_cpu_var uses
mips: Replace __get_cpu_var uses
MIPS: Replace __get_cpu_var uses in FPU emulator.
arm: Replace __this_cpu_ptr with raw_cpu_ptr
...
2014-10-15 07:48:18 +02:00
..
.gitignore
acpi-ext.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
acpi.c
ACPI / ia64: introduce variable acpi_lapic into ia64
2014-05-16 16:01:16 +02:00
asm-offsets.c
ia64/xen: Remove Xen support for ia64
2013-12-10 16:11:07 -08:00
audit.c
[IA64] Remove COMPAT_IA32 support
2010-02-08 10:42:17 -08:00
brl_emu.c
crash.c
ia64: convert use of typedef ctl_table to struct ctl_table
2014-06-06 16:08:15 -07:00
crash_dump.c
crash_dump: export is_kdump_kernel to modules, consolidate elfcorehdr_addr, setup_elfcorehdr and saved_max_pfn
2011-03-23 19:47:19 -07:00
cyclone.c
ia64: Replace clocksource.fsys_mmio with generic arch data
2011-07-14 17:57:09 -07:00
dma-mapping.c
ia64: Add export.h to arch/ia64 specific files as required
2011-10-31 19:30:58 -04:00
efi.c
ia64/efi: Implement efi_enabled()
2014-03-04 16:17:20 +00:00
efi_stub.S
elfcore.c
switch elf_core_write_extra_data() to dump_emit()
2013-11-09 00:16:23 -05:00
entry.h
entry.S
[IA64] Enable bpf syscall for ia64
2014-10-09 13:36:10 -07:00
err_inject.c
ia64, err-inject: Fix CPU hotplug callback registration
2014-03-20 13:43:41 +01:00
esi.c
tree-wide: fix assorted typos all over the place
2009-12-04 15:39:55 +01:00
esi_stub.S
fsys.S
Fix broken fsys_getppid()
2013-03-19 16:14:52 -07:00
fsyscall_gtod_data.h
ia64: vsyscall: Use seqcount instead of seqlock
2012-03-15 18:17:59 -07:00
ftrace.c
ftrace: Do not pass data to ftrace_dyn_arch_init
2014-03-07 10:06:14 -05:00
gate-data.S
Rename .data.gate to .data..gate.
2010-03-03 11:25:59 +01:00
gate.lds.S
Disintegrate asm/system.h for IA64
2012-03-28 18:30:02 +01:00
gate.S
Disintegrate asm/system.h for IA64
2012-03-28 18:30:02 +01:00
head.S
[IA64] Change default PSR.ac from '1' to '0' (Fix erratum #237 )
2014-04-16 10:20:34 -07:00
ia64_ksyms.c
treewide: Put a space between #include and FILE
2012-06-28 11:44:36 +02:00
init_task.c
Rename .data.init_task to .data..init_task.
2010-03-03 11:25:58 +01:00
iosapic.c
ia64: Use irq_init_desc
2014-05-16 14:05:22 +02:00
irq.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
irq_ia64.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
irq_lsapic.c
ia64: Convert lsapic to new irq_chip functions
2011-03-29 14:48:02 +02:00
ivt.S
[IA64] Change default PSR.ac from '1' to '0' (Fix erratum #237 )
2014-04-16 10:20:34 -07:00
jprobes.S
kprobes.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
machine_kexec.c
[IA64] kexec: Move the dereference below the NULL test
2012-09-10 14:31:23 -07:00
machvec.c
Disintegrate asm/system.h for IA64
2012-03-28 18:30:02 +01:00
Makefile
cpufreq: ia64: move cpufreq driver to drivers/cpufreq
2013-04-10 13:19:25 +02:00
Makefile.gate
Rename .data.gate to .data..gate.
2010-03-03 11:25:59 +01:00
mca.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
mca_asm.S
percpu: make percpu symbols in ia64 unique
2009-10-29 22:34:14 +09:00
mca_drv.c
Remove cast for kmalloc return value
2013-03-19 16:14:53 -07:00
mca_drv.h
mca_drv_asm.S
minstate.h
cputime: Generic on-demand virtual cputime accounting
2013-01-27 19:23:27 +01:00
module.c
modules: make arch's use default loader hooks
2011-07-24 22:06:04 +09:30
msi_ia64.c
PCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg()
2014-10-01 12:21:23 -06:00
nr-irqs.c
ia64/xen: Remove Xen support for ia64
2013-12-10 16:11:07 -08:00
numa.c
[IA64] Delete __cpuinit usage from all ia64 users
2013-06-24 15:44:27 -07:00
pal.S
palinfo.c
ia64, palinfo: Fix CPU hotplug callback registration
2014-03-20 13:43:40 +01:00
paravirt.c
static keys: Introduce 'struct static_key', static_key_true()/false() and static_key_slow_[inc|dec]()
2012-02-24 10:05:59 +01:00
paravirt_inst.h
ia64/xen: Remove Xen support for ia64
2013-12-10 16:11:07 -08:00
paravirt_patch.c
ia64/pv_op/binarypatch: add helper functions to support binary patching for paravirt_ops.
2009-03-26 11:02:31 -07:00
paravirt_patchlist.c
[IA64] Fix build error in paravirt_patchlist.c
2009-06-17 09:04:40 -07:00
paravirt_patchlist.h
ia64/xen: Remove Xen support for ia64
2013-12-10 16:11:07 -08:00
paravirtentry.S
Rename .data.read_mostly to .data..read_mostly.
2010-03-03 11:26:00 +01:00
patch.c
Disintegrate asm/system.h for IA64
2012-03-28 18:30:02 +01:00
pci-dma.c
[IA64] pci: Remove unused fallback_dev
2013-06-03 16:04:31 -07:00
pci-swiotlb.c
X86 & IA64: adapt for dma_map_ops changes
2012-03-28 16:36:31 +02:00
perfmon.c
ia64: convert use of typedef ctl_table to struct ctl_table
2014-06-06 16:08:15 -07:00
perfmon_default_smpl.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon_montecito.h
process.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
ptrace.c
ia64: kill thread_matches(), unexport ptrace_check_attach()
2013-01-20 12:26:05 -08:00
relocate_kernel.S
percpu: make percpu symbols in ia64 unique
2009-10-29 22:34:14 +09:00
sal.c
salinfo.c
ia64, salinfo: Fix hotplug callback registration
2014-03-20 13:43:40 +01:00
setup.c
DMI: Parse memory device (type 17) in SMBIOS
2013-10-23 10:10:12 -07:00
sigframe.h
signal.c
ia64: Use get_signal() signal_setup_done()
2014-08-06 13:02:14 +02:00
smp.c
Merge branch 'akpm' (Andrew's patch-bomb)
2012-03-28 17:19:28 -07:00
smpboot.c
[IA64] Delete __cpuinit usage from all ia64 users
2013-06-24 15:44:27 -07:00
stacktrace.c
[IA64] Add CONFIG_STACKTRACE_SUPPORT
2010-09-23 13:52:07 -07:00
sys_ia64.c
mm: use vm_unmapped_area() on ia64 architecture
2013-02-22 13:46:59 -08:00
time.c
rtc: ia64: allow other architectures to use EFI RTC
2014-08-08 15:57:19 -07:00
topology.c
ia64, topology: Fix CPU hotplug callback registration
2014-03-20 13:43:40 +01:00
traps.c
ia64: Replace __get_cpu_var uses
2014-08-26 13:45:52 -04:00
unaligned.c
[IA64] use __ratelimit
2010-05-18 14:45:54 -07:00
uncached.c
mm: fix GFP_THISNODE callers and clarify
2014-03-10 17:26:19 -07:00
unwind.c
Disintegrate asm/system.h for IA64
2012-03-28 18:30:02 +01:00
unwind_decoder.c
unwind_i.h
vmlinux.lds.S
ia64/xen: Remove Xen support for ia64
2013-12-10 16:11:07 -08:00