diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-24 12:48:49 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-24 12:48:49 -0800 |
commit | 0e3449e7ac9fecfe9fbc51e0c132ebb32691ec66 (patch) | |
tree | 96b31bf7f4acf9399a685459dba25e115410ec73 /get_load.c | |
parent | d496979565669a5590280eca717998470ab4ab9b (diff) |
unifdef -Usequent
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -118,14 +118,6 @@ void GetLoadPoint( #include <sys/param.h> #endif -#ifdef sequent -#include <sys/vm.h> -#endif /* sequent */ - -#ifdef sequent -#define FSCALE 1000.0 -#endif - #ifdef sgi #define FSCALE 1024.0 #endif @@ -535,10 +527,6 @@ void GetLoadPoint(w, closure, call_data) #define KERNEL_FILE "/hp-ux" #endif /* hpux */ -#ifdef sequent -#define KERNEL_FILE "/dynix" -#endif /* sequent */ - #ifdef sgi #if (OSMAJORVERSION > 4) #define KERNEL_FILE "/unix" @@ -652,13 +640,13 @@ void GetLoadPoint( w, closure, call_data ) (void) lseek(kmem, loadavg_seek, 0); -#if defined(sequent) || defined(SVR4) || defined(sgi) || (BSD >= 199103) +#if defined(SVR4) || defined(sgi) || (BSD >= 199103) { long temp; (void) read(kmem, (char *)&temp, sizeof(long)); *loadavg = (double)temp/FSCALE; } -#else /* else not sequent or SVR4 or sgi */ +#else /* else not SVR4 or sgi or BSD */ (void) read(kmem, (char *)loadavg, sizeof(double)); #endif /* SVR4 or ... else */ return; |