2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/arch/m68k
Greg Ungerer 1f2aab01ba m68knommu: fix broken ColdFire slice timer read_clk() code
There is a race on reading the ColdFire slice timer current count and the
total clock count so far. Interrupts are off, and we may have just missed
getting a new timer wrap event interrupt. Check for this and adjust the
cycle count and current read count accordingly.

Also the slice timer counts down from the terminal count. So in read_clk()
we need take the current clock count away from the terminal count.

Reported-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2011-12-24 21:47:58 +10:00
..
amiga m68k/irq: Remove obsolete m68k irq framework 2011-11-08 22:35:52 +01:00
apollo m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
atari m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
bvme6000 m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
configs m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
emu block: remove support for bio remapping from ->make_request 2011-09-12 12:12:01 +02:00
fpsp040 Fix common misspellings 2011-03-31 11:26:23 -03:00
hp300 m68k/irq: Remove obsolete IRQ_FLG_* users 2011-11-08 22:35:48 +01:00
ifpsp060 Fix common misspellings 2011-03-31 11:26:23 -03:00
include/asm m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
kernel m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
lib m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
mac m68k/mac: Remove mac_irq_{en,dis}able() wrappers 2011-11-08 22:35:52 +01:00
math-emu m68k/math-emu: Remove unnecessary code 2011-07-30 21:21:40 +02:00
mm m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
mvme16x m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
mvme147 m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
platform m68knommu: fix broken ColdFire slice timer read_clk() code 2011-12-24 21:47:58 +10:00
q40 m68k/irq: Remove obsolete m68k irq framework 2011-11-08 22:35:52 +01:00
sun3 m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
sun3x 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
tools/amiga Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
Kconfig m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Kconfig.bus m68k: Revive lost DIO bus config option 2011-11-08 22:35:46 +01:00
Kconfig.cpu m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Kconfig.debug m68k: support configure time command line for MMU m68k 2011-12-24 21:47:57 +10:00
Kconfig.devices m68k: Revive lost ARAnyM config options 2011-11-08 22:35:46 +01:00
Kconfig.machine m68k: drop unused Kconfig symbols 2011-10-21 14:56:43 +10:00
Makefile m68k: merge mmu and non-mmu arch Makefiles 2011-10-18 14:22:25 +10:00