linux/arch
James Bottomley 61c340166d [PARISC] Fix do_gettimeofday() hang
Apparently gettimeoffset can return small negative values (usually in
the 100us range).  If xtime.tv_nsec is accidentally less than this,
though (a fortunately unlikely event) it triggers the loop forever.

I've added a test and correct adjustment for this case.  It has a
warning printk in there which I'd like to leave for the time being
just in case this problem implicates some other part of the kernel.

Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2006-06-27 23:28:45 +00:00
..
alpha [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
arm [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
arm26
cris [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
frv [PATCH] More BUG_ON conversion 2006-06-23 07:43:08 -07:00
h8300 [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
i386 [PATCH] i386: Fix softirq accounting with 4K stacks 2006-06-25 11:32:44 -07:00
ia64 [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
m32r
m68k [PATCH] m68k: convert VME irq code 2006-06-25 10:00:58 -07:00
m68knommu [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
mips [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
parisc [PARISC] Fix do_gettimeofday() hang 2006-06-27 23:28:45 +00:00
powerpc [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
ppc [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
s390 [PATCH] s390: setup.c cleanup + build fix 2006-06-25 10:01:25 -07:00
sh
sh64 [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
sparc [SBUS]: Rewrite and plug into of_device framework. 2006-06-23 23:15:50 -07:00
sparc64 [SPARC64]: Update defconfig. 2006-06-23 23:17:48 -07:00
um [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
v850 [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
x86_64 [PATCH] Fix kdump Crash Kernel boot memory reservation for NUMA machines 2006-06-25 10:01:26 -07:00
xtensa [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00