linux/arch/powerpc/platforms/powermac
Benjamin Herrenschmidt 3027691e58 powerpc/pmac: Don't add_timer() twice
If the interrupt and the timeout happen roughly at the same
time, we can get into a situation where the timer function
is run while the interrupt has already been processed. In
this case, the timer function might end up doing an add_timer
on an already pending timer, causing a BUG_ON() to trigger.

Instead, just skip the whole timeout operation if we see that
the timer is pending. The spinlock ensures that the only way
that happens is if we already started a new operation and thus
the timeout can be ignored.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-04-23 11:04:28 +10:00
..
Kconfig powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +10:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
backlight.c powerpc: add export.h to files making use of EXPORT_SYMBOL 2011-10-31 19:30:37 -04:00
bootx_init.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
cache.S
cpufreq_32.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
cpufreq_64.c powerpc/cpumask: Use cpu_online_mask 2010-05-06 17:16:12 +10:00
feature.c powerpc: add export.h to files making use of EXPORT_SYMBOL 2011-10-31 19:30:37 -04:00
low_i2c.c powerpc/pmac: Don't add_timer() twice 2012-04-23 11:04:28 +10:00
nvram.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
pci.c powerpc/PCI: make pci_probe_only default to 0 2012-02-23 20:18:58 -07:00
pfunc_base.c
pfunc_core.c powerpc/powermac/pfunc_core.c: Add of_node_put to avoid memory leak 2010-09-02 14:07:33 +10:00
pic.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
pmac.h powerpc/psurge: Create a irq_host for secondary cpus 2011-05-19 15:31:51 +10:00
setup.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
sleep.S
smp.c irq_domain: Move irq_virq_count into NOMAP revmap 2012-04-12 00:37:48 -06:00
time.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
udbg_adb.c
udbg_scc.c