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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to