I found a error in compilation. I add new patch to fix It. I'm sorry :-(

El jue., 31 oct. 2019 a las 1:59, Samuel Thibault (<samuel.thiba...@gnu.org>)
escribió:

> Almudena Garcia, le jeu. 31 oct. 2019 01:50:04 +0100, a ecrit:
> > Sent patch
>
> Applied, thanks!
>
> Samuel
>
Author: Almudena García Jurado-Centurión <liberamenso10...@gmail.com>
Date:   Wed Oct 31 2:40:42 2019 +0100

    info.c: fix filling last_processor member 
    

--- hurd/proc/info.c	2019-10-26 23:12:40.495359917 +0200
+++ hurd~/proc/info.c	2019-10-31 02:34:54.163158618 +0100
@@ -713,6 +713,15 @@
 	      *flags &= ~PI_FETCH_THREAD_SCHED;
 	      err = 0;
 	    }
+
+#ifdef HAVE_STRUCT_THREAD_SCHED_INFO_LAST_PROCESSOR
+	  /* if the structure read doesn't include last_processor field, set It to 0 */
+	  if(thcount < 8)
+	    {
+  	      pi->threadinfos[i].pis_si.last_processor = 0;
+	    }
+#endif
+
 	}
 
       /* Note that there are thread wait entries only for those threads

Reply via email to