diff options
| author | Joakim Verona | 2011-06-16 00:22:07 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-06-16 00:22:07 +0200 |
| commit | a7513ade3bc0fe79430d5541d88c9dcda0932bec (patch) | |
| tree | 4383951ba698a11e9f8933a9d8c72e00aa872a10 /src/m | |
| parent | 4bd51ad5c3445b644dfb017d5b57b10a90aa325f (diff) | |
| parent | 4bba86e6210a74326e843a8fdc8409127105e1fe (diff) | |
| download | emacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.tar.gz emacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.zip | |
merge from upstream
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 7 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 8 | ||||
| -rw-r--r-- | src/m/ia64.h | 8 | ||||
| -rw-r--r-- | src/m/ibms390.h | 7 | ||||
| -rw-r--r-- | src/m/ibms390x.h | 2 | ||||
| -rw-r--r-- | src/m/macppc.h | 7 | ||||
| -rw-r--r-- | src/m/sparc.h | 7 | ||||
| -rw-r--r-- | src/m/template.h | 7 | ||||
| -rw-r--r-- | src/m/vax.h | 10 |
9 files changed, 3 insertions, 60 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 9ae089bfc5b..3a27cfd65d9 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -29,12 +29,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 29 | /* __alpha defined automatically */ | 29 | /* __alpha defined automatically */ |
| 30 | 30 | ||
| 31 | 31 | ||
| 32 | /* Data type of load average, as read out of kmem. */ | ||
| 33 | #define LOAD_AVE_TYPE long | ||
| 34 | |||
| 35 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 36 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 37 | |||
| 38 | #ifdef __ELF__ | 32 | #ifdef __ELF__ |
| 39 | 33 | ||
| 40 | #if !defined(GNU_LINUX) && !defined(__NetBSD__) | 34 | #if !defined(GNU_LINUX) && !defined(__NetBSD__) |
| @@ -57,4 +51,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 57 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | 51 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: |
| 58 | this avoids the assembler bug. */ | 52 | this avoids the assembler bug. */ |
| 59 | #define DBL_MIN_REPLACEMENT 2.2250738585072019e-308 | 53 | #define DBL_MIN_REPLACEMENT 2.2250738585072019e-308 |
| 60 | |||
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 2ae5d07390f..50fcf8e7872 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -28,14 +28,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | 28 | ||
| 29 | /* Define the type to use. */ | 29 | /* Define the type to use. */ |
| 30 | #define EMACS_INT long | 30 | #define EMACS_INT long |
| 31 | #define pI "l" | ||
| 31 | #define EMACS_UINT unsigned long | 32 | #define EMACS_UINT unsigned long |
| 32 | 33 | ||
| 33 | /* Data type of load average, as read out of kmem. */ | ||
| 34 | #define LOAD_AVE_TYPE long | ||
| 35 | |||
| 36 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 37 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 38 | |||
| 39 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 34 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
| 40 | #undef DATA_SEG_BITS | 35 | #undef DATA_SEG_BITS |
| 41 | |||
diff --git a/src/m/ia64.h b/src/m/ia64.h index 48ba3005cd6..7a8866a9503 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -28,14 +28,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | 28 | ||
| 29 | /* Define the type to use. */ | 29 | /* Define the type to use. */ |
| 30 | #define EMACS_INT long | 30 | #define EMACS_INT long |
| 31 | #define pI "l" | ||
| 31 | #define EMACS_UINT unsigned long | 32 | #define EMACS_UINT unsigned long |
| 32 | 33 | ||
| 33 | /* Data type of load average, as read out of kmem. */ | ||
| 34 | #define LOAD_AVE_TYPE long | ||
| 35 | |||
| 36 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 37 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 38 | |||
| 39 | #ifdef REL_ALLOC | 34 | #ifdef REL_ALLOC |
| 40 | #ifndef _MALLOC_INTERNAL | 35 | #ifndef _MALLOC_INTERNAL |
| 41 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it | 36 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it |
| @@ -45,4 +40,3 @@ extern char *r_alloc (), *r_re_alloc (); | |||
| 45 | extern void r_alloc_free (); | 40 | extern void r_alloc_free (); |
| 46 | #endif /* not _MALLOC_INTERNAL */ | 41 | #endif /* not _MALLOC_INTERNAL */ |
| 47 | #endif /* REL_ALLOC */ | 42 | #endif /* REL_ALLOC */ |
| 48 | |||
diff --git a/src/m/ibms390.h b/src/m/ibms390.h index f2aef1ba513..c309035dc5c 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -18,12 +18,6 @@ You should have received a copy of the GNU General Public License | |||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | /* Data type of load average, as read out of kmem. */ | ||
| 22 | #define LOAD_AVE_TYPE long | ||
| 23 | |||
| 24 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 25 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 26 | |||
| 27 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | 21 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
| 28 | pure and impure space as loaded can vary, and even their | 22 | pure and impure space as loaded can vary, and even their |
| 29 | relative order cannot be relied on. | 23 | relative order cannot be relied on. |
| @@ -31,4 +25,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 31 | Otherwise Emacs assumes that text space precedes data space, | 25 | Otherwise Emacs assumes that text space precedes data space, |
| 32 | numerically. */ | 26 | numerically. */ |
| 33 | #define VIRT_ADDR_VARIES | 27 | #define VIRT_ADDR_VARIES |
| 34 | |||
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index d4ef5c291ef..04092d6e1ac 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -24,6 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | 24 | ||
| 25 | /* Define the type to use. */ | 25 | /* Define the type to use. */ |
| 26 | #define EMACS_INT long | 26 | #define EMACS_INT long |
| 27 | #define pI "l" | ||
| 27 | #define EMACS_UINT unsigned long | 28 | #define EMACS_UINT unsigned long |
| 28 | 29 | ||
| 29 | /* On the 64 bit architecture, we can use 60 bits for addresses */ | 30 | /* On the 64 bit architecture, we can use 60 bits for addresses */ |
| @@ -31,4 +32,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 31 | 32 | ||
| 32 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 33 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
| 33 | #define XPNTR(a) XUINT (a) | 34 | #define XPNTR(a) XUINT (a) |
| 34 | |||
diff --git a/src/m/macppc.h b/src/m/macppc.h index 5d78e39bdba..aef781e2c39 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -17,15 +17,8 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | /* Data type of load average, as read out of kmem. */ | ||
| 21 | #define LOAD_AVE_TYPE long | ||
| 22 | |||
| 23 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 24 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 25 | |||
| 26 | #ifdef _ARCH_PPC64 | 20 | #ifdef _ARCH_PPC64 |
| 27 | #ifndef _LP64 | 21 | #ifndef _LP64 |
| 28 | #define _LP64 | 22 | #define _LP64 |
| 29 | #endif | 23 | #endif |
| 30 | #endif | 24 | #endif |
| 31 | |||
diff --git a/src/m/sparc.h b/src/m/sparc.h index 50e56f0f3dc..99668043f30 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -19,12 +19,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 19 | 19 | ||
| 20 | /* __sparc__ is defined by the compiler by default. */ | 20 | /* __sparc__ is defined by the compiler by default. */ |
| 21 | 21 | ||
| 22 | /* Data type of load average, as read out of kmem. */ | ||
| 23 | #define LOAD_AVE_TYPE long | ||
| 24 | |||
| 25 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 26 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 27 | |||
| 28 | #ifdef __arch64__ /* GCC, 64-bit ABI. */ | 22 | #ifdef __arch64__ /* GCC, 64-bit ABI. */ |
| 29 | 23 | ||
| 30 | #define BITS_PER_LONG 64 | 24 | #define BITS_PER_LONG 64 |
| @@ -34,4 +28,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | #endif | 28 | #endif |
| 35 | 29 | ||
| 36 | #endif /* __arch64__ */ | 30 | #endif /* __arch64__ */ |
| 37 | |||
diff --git a/src/m/template.h b/src/m/template.h index f06f62b6cda..54fb0da9521 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -21,12 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | does not define it automatically. | 21 | does not define it automatically. |
| 22 | Ones defined so far include m68k and many others */ | 22 | Ones defined so far include m68k and many others */ |
| 23 | 23 | ||
| 24 | /* Data type of load average, as read out of kmem. */ | ||
| 25 | #define LOAD_AVE_TYPE long | ||
| 26 | |||
| 27 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 28 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 29 | |||
| 30 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | 24 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
| 31 | pure and impure space as loaded can vary, and even their | 25 | pure and impure space as loaded can vary, and even their |
| 32 | relative order cannot be relied on. | 26 | relative order cannot be relied on. |
| @@ -46,4 +40,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 46 | If you've just fixed a problem in an existing configuration file, | 40 | If you've just fixed a problem in an existing configuration file, |
| 47 | you should also check `etc/MACHINES' to make sure its descriptions | 41 | you should also check `etc/MACHINES' to make sure its descriptions |
| 48 | of known problems in that configuration should be updated. */ | 42 | of known problems in that configuration should be updated. */ |
| 49 | |||
diff --git a/src/m/vax.h b/src/m/vax.h index 2fecf17ca84..a375600cead 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -20,14 +20,4 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 20 | 20 | ||
| 21 | /* #define vax -- appears to be done automatically */ | 21 | /* #define vax -- appears to be done automatically */ |
| 22 | 22 | ||
| 23 | /* USG systems I know of running on Vaxes do not actually | ||
| 24 | support the load average, so disable it for them. */ | ||
| 25 | |||
| 26 | /* Data type of load average, as read out of kmem. */ | ||
| 27 | #define LOAD_AVE_TYPE double | ||
| 28 | |||
| 29 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 30 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 31 | |||
| 32 | #define HAVE_FTIME | 23 | #define HAVE_FTIME |
| 33 | |||