Re: [PATCH] Fix /proc/acpi/alarm BCD alarm encodings

From: Andrew Morton
Date: Thu Oct 18 2007 - 18:11:52 EST


On Wed, 17 Oct 2007 23:18:32 -0400
Mark Lord <lkml@xxxxxx> wrote:

> >and note the "& 0x3f" which is done in BCD mode. Strange. But we always
> >write zero (which may or may not be correct). So I'd have to add a mask to
> >the interface, and I decided it wasn't worth it until somebody talks about
> >how that thing actually works..
>
> Linus, this is your patch from a few weeks ago.
> It (still) solves problems for me here.
> This should go into 2.6.24.
>
> Fix BIN_TO_BCD()/BCD_TO_BIN() handling when setting the real-time alarm clock.

This patch is presently (stuck) in -mm. I'll move it to my
must-be-in-2.6.24-even-if-the-maintainer-fluffs-it queue.
-
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/