1 /* machine description file for IBM S390
2 Copyright (C) 1987 Free Software Foundation, Inc.
4 This file is part of XEmacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
22 /* Say this machine is a s390 */
28 /* Data type of load average, as read out of kmem. */
30 #define LOAD_AVE_TYPE long
32 /* Convert that into an integer that is 100 for a load average of 1.0 */
34 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)