diff options
author | 2008-12-09 10:46:30 -0500 | |
---|---|---|
committer | 2008-12-10 00:29:35 -0500 | |
commit | 48452e5f99ab35d643df0463b6ad11aea8ea7bdc (patch) | |
tree | 9d5418951b0064f231d1df81f96b1ba624e46f99 /include/linux/kernel.h | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | wireguard-linux-48452e5f99ab35d643df0463b6ad11aea8ea7bdc.tar.xz wireguard-linux-48452e5f99ab35d643df0463b6ad11aea8ea7bdc.zip |
/proc/acpi/alarm: handle day-of-month wraparound on readback
Fix month wrap issue with readback from /proc/acpi/alarm
This bug has been around *forever*.
$ echo '2008-12-01 10:36:20' > /proc/acpi/alarm
$ cat /proc/acpi/alarm
2008-11-01 10:36:20
Note how the readback above shows the month incorrectly
when the alarm is set in the *next* calendar month.
But with this patch applied, it shows the correct month (12).
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions