[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <431112.45036.qm@web32602.mail.mud.yahoo.com>
Date: Tue, 19 May 2009 12:00:00 -0700 (PDT)
From: Martin Knoblauch <spamtrap@...bisoft.de>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Matt Mackall <mpm@...enic.com>, Ingo Molnar <mingo@...e.hu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Rgeression: 2.6.30-rc6-git3 build error - ICE from drivers/char/random.c
----- Original Message ----
> From: Linus Torvalds <torvalds@...ux-foundation.org>
> To: Martin Knoblauch <spamtrap@...bisoft.de>
> Cc: Matt Mackall <mpm@...enic.com>; Ingo Molnar <mingo@...e.hu>; Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
> Sent: Tuesday, May 19, 2009 8:24:48 PM
> Subject: Re: Rgeression: 2.6.30-rc6-git3 build error - ICE from drivers/char/random.c
>
>
>
> On Tue, 19 May 2009, Linus Torvalds wrote:
> >
> > I guess getting rid of 'jiffies' is also worth it. Even at its very worst,
> > 'get_cycles()' should return jiffy-level information, so adding in jiffies
> > doesn't add anything to it.
>
> I take that back. If there isno TSC at all, "get_cycles()" might just be
> returning zero. So the jiffies fallback is probably better than nothing.
>
> So I'll just remove the (long)&ret part. And you already said that that
> fixed it both with my previous patch and without, so I guess it's already
> tested.
>
> Linus
correct. The original code with (long)&ret removed yields:
hash[0] += current->pid + jiffies + get_cycles();
and compiles OK.
Tested-by: Martin Knoblauch <spamtrap@...bisoft.de>
Cheers
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists