lkml.org 
[lkml]   [2008]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.27-rc6-mmotm0913 build error - suspect itimers-fix-itimer-many-thread-hang.patch
From
Date
On Mon, 15 Sep 2008 10:13:24 PDT, Frank Mayhar said:

> As it happens, my top-of-tree snapshot is missing this routine. I'm
> re-snapping it now but I think you're right that it's a merge issue with
> linux-next. The fix, however, is trivial: Replace the entire if block
> with the line:
> update_rlimit_cpu(rlim->rlim_cur);
>
> The above snippet becomes:
>
> if (rc) {
> for (i = 0; i < RLIM_NLIMITS; i++) {
> rlim = current->signal->rlim + i;
> initrlim = init_task.signal->rlim+i;
> rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur);
> }
> update_rlimit_cpu(rlim->rlim_cur);
> }
>
> And double-check that linux/posix-timers.h is being #included around
> line 80.

Yeah, it had the #include already, and with the above fix, I actually got a
clean build of the kernel. Boot testing will have to wait till tonight...

Thanks for the help. :)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-09-15 20:03    [W:0.031 / U:0.168 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site