commit | f3537ea7b9c2f10397a8b68cd006981d7c615431 | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Mon May 01 12:16:17 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon May 01 18:17:47 2006 -0700 |
tree | 4aedb112b5e39c09238f533804fc35996c58eeb0 | |
parent | 3418ff76119da52f808eb496191d1fd380f53f3d [diff] |
[PATCH] genrtc: fix read on 64-bit platforms Fix genrtc's read() routine for 64-bit platforms. Current gen_rtc_read() stores 64bit integer and returns 8 even if an user tried to read a 32bit integer. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>