diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-08 13:04:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-08 08:55:26 -0700 |
commit | 5fc3249068c1ed87c6fd485f42ced24132405629 (patch) | |
tree | 31b2c682930b03e45fe27bc34c8b376e00da408e /drivers | |
parent | a9e73211fb0fc875637793a8af770f3678b6c278 (diff) | |
download | lwn-5fc3249068c1ed87c6fd485f42ced24132405629.tar.gz lwn-5fc3249068c1ed87c6fd485f42ced24132405629.zip |
kmsg: use do_div() to divide 64bit integer
On Tue, May 8, 2012 at 10:02 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> kernel/built-in.o: In function `devkmsg_read':
> printk.c:(.text+0x27e8): undefined reference to `__udivdi3'
> Most probably the "msg->ts_nsec / 1000" since
> ts_nsec is a u64 and this is a 32 bit build ...
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions