summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2010-12-09Merge remote branch 'cleancache/linux-next'Stephen Rothwell
Conflicts: fs/ocfs2/super.c include/linux/fs.h mm/Kconfig
2010-12-09Merge remote branch 'usb/usb-next'Stephen Rothwell
Conflicts: arch/sh/Kconfig drivers/usb/musb/blackfin.c
2010-12-09Merge remote branch 'tty/tty-next'Stephen Rothwell
2010-12-09Merge remote branch 'percpu/for-next'Stephen Rothwell
2010-12-09Revert "perf, arch: Cleanup perf-pmu init vs lockup-detector"Stephen Rothwell
This reverts commit 004417a6d468e24399e383645c068b498eed84ad.
2010-12-09Revert "x86, nmi_watchdog: Remove the old nmi_watchdog"Stephen Rothwell
This reverts commit 5f2b0ba4d94b3ac23cbc4b7f675d98eb677a760a. Conflicts: arch/x86/kernel/apic/hw_nmi.c
2010-12-09Revert "x86, nmi_watchdog: Remove all stub function calls from old nmi_watchdog"Stephen Rothwell
This reverts commit 072b198a4ad48bd722ec6d203d65422a4698eae7. Conflicts: arch/x86/kernel/smpboot.c
2010-12-09Merge remote branch 'tip/auto-latest'Stephen Rothwell
2010-12-09Merge remote branch 'alacrity/linux-next'Stephen Rothwell
Conflicts: drivers/Makefile include/linux/Kbuild lib/Kconfig
2010-12-09Merge remote branch 'trivial/for-next'Stephen Rothwell
Conflicts: MAINTAINERS drivers/scsi/bfa/bfa_fcpim.c
2010-12-09Merge remote branch 'fbdev/master'Stephen Rothwell
2010-12-09Merge remote branch 'kgdb/kgdb-next'Stephen Rothwell
2010-12-09Merge remote branch 'mmc/mmc-next'Stephen Rothwell
2010-12-09Merge remote branch 'input/next'Stephen Rothwell
2010-12-09Merge remote branch 'sound/for-next'Stephen Rothwell
Conflicts: sound/soc/sh/fsi.c
2010-12-09Merge remote branch 'crypto/master'Stephen Rothwell
2010-12-09Merge remote branch 'wireless/master'Stephen Rothwell
2010-12-09Merge remote branch 'kvm/linux-next'Stephen Rothwell
2010-12-09Merge remote branch 'xtensa/master'Stephen Rothwell
Conflicts: arch/xtensa/configs/iss_defconfig
2010-12-09Merge remote branch 'rmobile/rmobile-latest'Stephen Rothwell
Conflicts: arch/arm/mach-shmobile/Kconfig
2010-12-09Merge remote branch 'sh/sh-latest'Stephen Rothwell
2010-12-09Merge remote branch 's390/features'Stephen Rothwell
2010-12-09Merge remote branch '52xx-and-virtex/next'Stephen Rothwell
2010-12-09Merge remote branch '4xx/next'Stephen Rothwell
2010-12-09Merge remote branch 'powerpc/next'Stephen Rothwell
2010-12-09Merge remote branch 'microblaze/next'Stephen Rothwell
2010-12-09Merge remote branch 'm68knommu/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'm68k/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'blackfin/for-linus'Stephen Rothwell
2010-12-09Merge remote branch 'ux500-core/ux500-core'Stephen Rothwell
2010-12-09Merge remote branch 'tegra/for-next'Stephen Rothwell
2010-12-09Merge remote branch 's5p/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'omap/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'msm/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'i.MX/for-next'Stephen Rothwell
2010-12-09Merge remote branch 'davinci/davinci-next'Stephen Rothwell
2010-12-09Merge remote branch 'arm/devel'Stephen Rothwell
2010-12-09Merge remote branch 'cpufreq-current/fixes'Stephen Rothwell
2010-12-08Merge branch 'devel-stable' into develRussell King
Conflicts: arch/arm/kernel/smp.c
2010-12-08Merge branches 'ftrace', 'gic', 'io', 'kexec', 'misc', 'mmci', 'mod', 'pgt', ↵Russell King
'sa11x0', 'sh', 'smp' and 'versatile' into devel Conflicts: arch/arm/common/Makefile
2010-12-08x86: Use this_cpu_inc_return for nmi counterChristoph Lameter
this_cpu_inc_return() saves us a memory access there. Reviewed-by: Tejun Heo <tj@kernel.org> Reviewed-by: Pekka Enberg <penberg@kernel.org> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
2010-12-08x86: Support for this_cpu_add, sub, dec, inc_returnChristoph Lameter
Supply an implementation for x86 in order to generate more efficient code. V2->V3: - Cleanup - Remove strange type checking from percpu_add_return_op. tj: - Dropped unused typedef from percpu_add_return_op(). - Renamed ret__ to paro_ret__ in percpu_add_return_op(). - Minor indentation adjustments. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
2010-12-08x86: Replace uses of current_cpu_data with this_cpu opsChristoph Lameter
Replace all uses of current_cpu_data with this_cpu operations on the per cpu structure cpu_info. The scala accesses are replaced with the matching this_cpu ops which results in smaller and more efficient code. In the long run, it might be a good idea to remove cpu_data() macro too and use per_cpu macro directly. tj: updated description Cc: Yinghai Lu <yinghai@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
2010-12-08xen: Use this_cpu_opsChristoph Lameter
Use this_cpu_ops to reduce code size and simplify things in various places. V3->V4: Move instance of this_cpu_inc_return to a later patchset so that this patch can be applied without infrastructure changes. Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
2010-12-08kprobes: Use this_cpu_opsChristoph Lameter
Use this_cpu ops in various places to optimize per cpu data access. Cc: Jason Baron <jbaron@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
2010-12-08Merge branches 'x86-fixes-for-linus', 'perf-fixes-for-linus' and ↵Linus Torvalds
'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86/pvclock: Zero last_value on resume * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf record: Fix eternal wait for stillborn child perf header: Don't assume there's no attr info if no sample ids is provided perf symbols: Figure out start address of kernel map from kallsyms perf symbols: Fix kallsyms kernel/module map splitting * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: nohz: Fix printk_needs_cpu() return value on offline cpus printk: Fix wake_up_klogd() vs cpu hotplug
2010-12-08ARM: io: simplify ioremap* and iounmap definitionsRussell King
We don't need to repeat the same definitions of the ioremap*(), once in terms of __arch_ioremap() and again in terms of __arm_ioremap(). Instead, if the platform hasn't provided an __arch_ioremap, define this to be __arm_ioremap, and only define the ioremap*() set using __arch_ioremap. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-12-08ARM: io: make iounmap() a simple macroRussell King
Defining iounmap() with arguments prevents it from being used as a function pointer, causing platforms to work around this. Instead, define it to be a simple macro. Do the same for __arch_io(re|un)map too. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-12-08ARM: 6516/1: Allow SMP_ON_UP to work with Thumb-2 kernels.Dave Martin
* __fixup_smp_on_up has been modified with support for the THUMB2_KERNEL case. For THUMB2_KERNEL only, fixups are split into halfwords in case of misalignment, since we can't rely on unaligned accesses working before turning the MMU on. No attempt is made to optimise the aligned case, since the number of fixups is typically small, and it seems best to keep the code as simple as possible. * Add a rotate in the fixup_smp code in order to support CPU_BIG_ENDIAN, as suggested by Nicolas Pitre. * Add an assembly-time sanity-check to ALT_UP() to ensure that the content really is the right size (4 bytes). (No check is done for ALT_SMP(). Possibly, this could be fixed by splitting the two uses ot ALT_SMP() (ALT_SMP...SMP_UP versus ALT_SMP...SMP_UP_B) into two macros. In the first case, ALT_SMP needs to expand to >= 4 bytes, not == 4.) * smp_mpidr.h (which implements ALT_SMP()/ALT_UP() manually due to macro limitations) has not been modified: the affected instruction (mov) has no 16-bit encoding, so the correct instruction size is satisfied in this case. * A "mode" parameter has been added to smp_dmb: smp_dmb arm @ assumes 4-byte instructions (for ARM code, e.g. kuser) smp_dmb @ uses W() to ensure 4-byte instructions for ALT_SMP() This avoids assembly failures due to use of W() inside smp_dmb, when assembling pure-ARM code in the vectors page. There might be a better way to achieve this. * Kconfig: make SMP_ON_UP depend on (!THUMB2_KERNEL || !BIG_ENDIAN) i.e., THUMB2_KERNEL is now supported, but only if !BIG_ENDIAN (The fixup code for Thumb-2 currently assumes little-endian order.) Tested using a single generic realview kernel on: ARM RealView PB-A8 (CONFIG_THUMB2_KERNEL={n,y}) ARM RealView PBX-A9 (SMP) Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-12-08ARM: SMP: remove smp_mpidr.hRussell King
With "ARM: CPU hotplug: remove bug checks in platform_cpu_die()", we now do not use hard_smp_processor_id(), we no longer need to read the hardware processor ID. Remove the include providing this function. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>