diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-09-07 18:25:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-07 18:25:20 -0700 |
commit | d875a4b0ffad754e6d89fa561ea7dcdd79c9508b (patch) | |
tree | 7b1a6efc14843c5ea549daab1db0366f4f94f833 /fs/sync.c | |
parent | 3baca76f5653482f4b7fe1fc400b01877f6b2d92 (diff) | |
download | linux-d875a4b0ffad754e6d89fa561ea7dcdd79c9508b.tar.gz linux-d875a4b0ffad754e6d89fa561ea7dcdd79c9508b.tar.bz2 linux-d875a4b0ffad754e6d89fa561ea7dcdd79c9508b.zip |
rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs
Fix setting of a year in m48t08 and m48t02 clocks.
They do not have century bits and setting them
causes the year to overflow (bit 0x80 set).
Problem found by Robert Reif on Sun Sparcstation 20.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions