diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/sequent-ptx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h index 26bca6a1fda..112638dbbf1 100644 --- a/src/m/sequent-ptx.h +++ b/src/m/sequent-ptx.h | |||
| @@ -59,11 +59,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 59 | 59 | ||
| 60 | /* Data type of load average, as read out of kmem. */ | 60 | /* Data type of load average, as read out of kmem. */ |
| 61 | 61 | ||
| 62 | #undef LOAD_AVE_TYPE | ||
| 62 | #define LOAD_AVE_TYPE unsigned long | 63 | #define LOAD_AVE_TYPE unsigned long |
| 63 | 64 | ||
| 64 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 65 | 66 | ||
| 67 | #undef FSCALE | ||
| 66 | #define FSCALE 1000.0 | 68 | #define FSCALE 1000.0 |
| 69 | #undef LOAD_AVE_CVT | ||
| 67 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 70 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 68 | 71 | ||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | 72 | /* Define CANNOT_DUMP on machines where unexec does not work. |