svn commit: r333963 - head/usr.bin/top

Eitan Adler eadler at FreeBSD.org
Mon May 21 04:47:14 UTC 2018


Author: eadler
Date: Mon May 21 04:47:13 2018
New Revision: 333963
URL: https://svnweb.freebsd.org/changeset/base/333963

Log:
  top(1): fix MIPS
  
  I missed where the parentheses were.
  
  Reported by:	imp

Modified:
  head/usr.bin/top/loadavg.h

Modified: head/usr.bin/top/loadavg.h
==============================================================================
--- head/usr.bin/top/loadavg.h	Mon May 21 04:40:20 2018	(r333962)
+++ head/usr.bin/top/loadavg.h	Mon May 21 04:47:13 2018	(r333963)
@@ -14,20 +14,6 @@
  *	$FreeBSD$
  */
 
-/*
- * We assume that if FSCALE is defined, then avenrun and ccpu are type long.
- * If your machine is an exception (mips, perhaps?) then make adjustments
- * here.
- *
- * Defined types:  load_avg for load averages, pctcpu for cpu percentages.
- */
-#if defined(__mips__) && defined(__FreeBSD__)
-# include <sys/fixpoint.h>
-# if defined(FBITS) && !defined(FSCALE)
-#  define FSCALE (1 << FBITS)	/* RISC/os on mips */
-# endif
-#endif
-
 #define FIXED_LOADAVG FSCALE
 #define FIXED_PCTCPU FSCALE
 


More information about the svn-src-all mailing list