363
|
1 /* machine description file for IBM S390
|
|
2 Copyright (C) 1987 Free Software Foundation, Inc.
|
|
3
|
|
4 This file is part of XEmacs.
|
|
5
|
|
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)
|
|
9 any later version.
|
|
10
|
|
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.
|
|
15
|
|
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. */
|
|
20
|
|
21
|
|
22 /* Say this machine is a s390 */
|
|
23
|
|
24 #ifndef s390
|
|
25 #define s390
|
|
26 #endif
|
|
27
|
|
28 /* Data type of load average, as read out of kmem. */
|
|
29
|
|
30 #define LOAD_AVE_TYPE long
|
|
31
|
|
32 /* Convert that into an integer that is 100 for a load average of 1.0 */
|
|
33
|
|
34 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
|