Re: [PATCH] Fix compile failure for OM 2.6.17 in debug/nanosleep-verbose-on-remote.patch
"Masoud Sharbiani" <[email protected]> Fri, 23 Feb 2007 07:40:16 -0800
| Newsgroups | gmane.linux.cluster.openmosix.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1294581948== Content-Type: multipart/alternative; boundary="----=_Part_44486_25447642.1172245216790" ------=_Part_44486_25447642.1172245216790 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/23/07, Florian Delizy <[email protected]> wrote: > > Hello, > > Index: kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch > > =================================================================== > > --- kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch (revision > 17) > > +++ kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch (working > copy) > > @@ -1,16 +1,12 @@ > > ---- > > - kernel/hrtimer.c | 1 + > > - 1 file changed, 1 insertion(+) > > - > > -Index: linux/kernel/hrtimer.c > > +Index: linux-2.6.17/kernel/hrtimer.c > > =================================================================== > > ---- linux.orig/kernel/hrtimer.c 2007-01-04 18:57:08.000000000+0100 > > -+++ linux/kernel/hrtimer.c 2007-01-04 18:58:48.000000000 +0100 > > +--- linux-2.6.17.orig/kernel/hrtimer.c 2007-02-21 01:01: > 07.000000000 -0500 > > ++++ linux-2.6.17/kernel/hrtimer.c 2007-02-21 01:01:37.000000000-0500 > > @@ -780,6 +780,7 @@ > > if (!timespec_valid(&tu)) > > return -EINVAL; > > > > -+ printk( KERN_DEBUG "nanosleep [%d] for %d s %d ns\n", > current->pid, tu.tv_sec, tu.nsec); > > ++ printk( KERN_DEBUG "nanosleep [%d] for %ld s %ld ns\n", > current->pid, tu.tv_sec, tu.tv_nsec); > > return hrtimer_nanosleep(&tu, rmtp, HRTIMER_REL, CLOCK_MONOTONIC); > > } > > > > > > > Hum, I didn't see this warning ;) my mistake. But How does it make the > build to "fail" ? well, tu structure does not have a tu.nsec member, hence the compile will fail on it. Is this what you were looking for? BTW, I'll check why the patches don't apply cleanly, but I can't do that > soon, I guess I am getting old and lazy; Who did check in the ptrace patches? It is missing an structure. Florian > Masoud ------=_Part_44486_25447642.1172245216790 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <br><br><div><span class="gmail_quote">On 2/23/07, <b class="gmail_sendername">Florian Delizy</b> <<a href="mailto:[email protected]">[email protected]</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<br>> Index: kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch<br>> ===================================================================<br>> --- kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch (revision 17) <br>> +++ kernel/2.6.17/debug/nanosleep-verbose-on-remote.patch (working copy)<br>> @@ -1,16 +1,12 @@<br>> ----<br>> - kernel/hrtimer.c | 1 +<br>> - 1 file changed, 1 insertion(+)<br>> -<br>> -Index: linux/kernel/hrtimer.c <br>> +Index: linux-2.6.17/kernel/hrtimer.c<br>> ===================================================================<br>> ---- linux.orig/kernel/hrtimer.c 2007-01-04 18:57:08.000000000 +0100<br>> -+++ linux/kernel/hrtimer.c 2007-01-04 18:58: 48.000000000 +0100<br>> +--- linux-2.6.17.orig/kernel/hrtimer.c 2007-02-21 01:01:07.000000000 -0500<br>> ++++ linux-2.6.17/kernel/hrtimer.c 2007-02-21 01:01:37.000000000 -0500<br>> @@ -780,6 +780,7 @@<br> > if (!timespec_valid(&tu))<br>> return -EINVAL;<br>><br>> -+ printk( KERN_DEBUG "nanosleep [%d] for %d s %d ns\n", current->pid, tu.tv_sec, tu.nsec);<br>> ++ printk( KERN_DEBUG "nanosleep [%d] for %ld s %ld ns\n", current->pid, tu.tv_sec, tu.tv_nsec);<br>> return hrtimer_nanosleep(&tu, rmtp, HRTIMER_REL, CLOCK_MONOTONIC);<br>> }<br>><br>><br>><br>Hum, I didn't see this warning ;) my mistake. But How does it make the <br>build to "fail" ?</blockquote><div><br>well, tu structure does not have a tu.nsec member, hence the compile will fail on it. Is this what you were looking for?<br> <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> BTW, I'll check why the patches don't apply cleanly, but I can't do that<br>soon,</blockquote><div><br>I guess I am getting old and lazy; Who did check in the ptrace patches? It is missing an structure.<br></div> <br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Florian<br></blockquote></div><br><br>Masoud<br><br> ------=_Part_44486_25447642.1172245216790-- --===============1294581948== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============1294581948== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ openMosix-devel mailing list openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/openmosix-devel --===============1294581948==--