aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/system.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-30 22:55:52 +1100
committerPaul Mackerras <paulus@samba.org>2005-10-30 22:55:52 +1100
commit5f6b5b973a125de0dbe236ce659a495787c81ff0 (patch)
tree49286d23fff0b829e2c93831925eadceeeb6cd7a /include/asm-powerpc/system.h
parentpowerpc: Remove T command from xmon help text since it no longer exists (diff)
downloadlinux-dev-5f6b5b973a125de0dbe236ce659a495787c81ff0.tar.xz
linux-dev-5f6b5b973a125de0dbe236ce659a495787c81ff0.zip
powerpc: Fix time setting bug on 32-bit
This fixes a bug where settimeofday would set the wrong parameters in do_gtod, resulting in gettimeofday returning a value about 4 hours after the correct time. The bug was that we divided a negative 64-bit value with do_div, which treated it as unsigned and gave us a result that was approximately 1.8e10 too large (since the divisor was 1e9). Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/system.h')
0 files changed, 0 insertions, 0 deletions