lkml.org 
[lkml]   [2009]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Rgeression: 2.6.30-rc6-git3 build error - ICE from drivers/char/random.c

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> 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. [...]

I suspect we could add current_thread_info() or 'current' to it - as
they are initialized variables. (which the stack pointer mostly
boils down to - the stack depth is predictable)

Not worth the trouble though i suspect.

Ingo


\
 
 \ /
  Last update: 2009-05-20 09:55    [W:0.412 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site