Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 14:10:04 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 113836 for review
Message-ID:  <200702011410.l11EA4qs005267@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113836

Change 113836 by rdivacky@rdivacky_witten on 2007/02/01 14:09:48

	Dont litter sources with extern int hz and include kernel.h instead.
	
	Suggested by: many

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#31 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#31 (text+ko) ====

@@ -34,6 +34,7 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/imgact.h>
+#include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mutex.h>
@@ -279,8 +280,6 @@
 	}
 }
 
-extern int hz;				/* in subr_param.c */
-
 void
 linux_schedtail(void *arg __unused, struct proc *p)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702011410.l11EA4qs005267>