aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2008-11-05 17:38:47 +0000
committerLinus Torvalds <[email protected]>2008-11-06 23:44:19 +0000
commit7597bc94d6f3bdccb086ac7f2ad91292fdaee2a4 (patch)
tree17126979600f74f27b45669861808e577c305920 /net/unix/af_unix.c
parentMerge git://git.infradead.org/mtd-2.6 (diff)
downloadkernel-7597bc94d6f3bdccb086ac7f2ad91292fdaee2a4.tar.gz
kernel-7597bc94d6f3bdccb086ac7f2ad91292fdaee2a4.zip
Fix accidental implicit cast in HR-timer conversion
Fix the hrtimer_add_expires_ns() function. It should take a 'u64 ns' argument, but rather takes an 'unsigned long ns' argument - which might only be 32-bits. On FRV, this results in the kernel locking up because hrtimer_forward() passes the result of a 64-bit multiplication to this function, for which the compiler discards the top 32-bits - something that didn't happen when ktime_add_ns() was called directly. Signed-off-by: David Howells <[email protected]> Acked-by: Arjan van de Ven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions