Re: [patch] fix alarm() return value

From: Thomas Gleixner
Date: Mon Jan 30 2006 - 04:04:38 EST


On Mon, 2006-01-30 at 09:57 +0100, Gerd Hoffmann wrote:
> Hi folks,
>
> This patch fixes the alarm() system call return value. The alarm(2)
> syscall is supposed to return the reamining seconds. The hrtimer
> switchover broke this because the code tries to gather the remaining
> time _after_ canceling the timer. Trivial fix below.

Thanks. The fix is already in -mm and scheduled to go into 2.6.16

tglx




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/