Messages in this thread | | | Subject | Re: 2.6.27-rc6-mmotm0913 build error - suspect itimers-fix-itimer-many-thread-hang.patch | From | Valdis.Kletnieks@vt ... | Date | Mon, 15 Sep 2008 13:58:55 -0400 |
| |
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] | |