]> git.eshelyaron.com Git - emacs.git/commitdiff
* m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 21 Jul 2008 18:19:30 +0000 (18:19 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 21 Jul 2008 18:19:30 +0000 (18:19 +0000)
on this platform.
(mips):
* m/iris4d.h (mips): Do not define.
* sysdep.c (init_sys_modes): Use __mips__ instead of mips.

src/ChangeLog
src/m/iris4d.h
src/m/mips.h
src/sysdep.c

index 2d222557645fd9ce3d56b803a3241b0d589b8564..c1a8f6a599f527b0e2a8cc13d87d8289dc421496 100644 (file)
@@ -1,5 +1,11 @@
 2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
+       on this platform.
+       (mips):
+       * m/iris4d.h (mips): Do not define.
+       * sysdep.c (init_sys_modes): Use __mips__ instead of mips.
+
        * m/ibmrs6000.h (LD_SWITCH_SITE): Remove.
 
        * image.c:
index ed055aa67df3d72d735d4000b03040d9fbf4392a..923db1423005d94cecaf44341259b2c726e99a65 100644 (file)
@@ -28,13 +28,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define NO_ARG_ARRAY
 
-/* Now define a symbol for the cpu type, if your compiler
-   does not define it automatically.  */
-
-#ifndef mips
-#define mips
-#endif
-
 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
    the bit field into an int.  In other words, if bit fields
    are always unsigned.
@@ -43,13 +36,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define EXPLICIT_SIGN_EXTEND
 
-/* Define NO_REMAP if memory segmentation makes it not work well
-   to change the boundary between the text section and data section
-   when Emacs is dumped.  If you define this, the preloaded Lisp
-   code will not be sharable; but that's better than failing completely.  */
-
-#define NO_REMAP
-
 /* This machine requires completely different unexec code
    which lives in a separate file.  Specify the file name.  */
 
index ec26a86d988016cc15252d6496b763d57a213387..d72cd8a8ccbe849864bec834b385c3e915952999 100644 (file)
@@ -38,12 +38,6 @@ NOTE-END  */
 
 #define NO_ARG_ARRAY
 
-/* Now define a symbol for the cpu type, if your compiler
-   does not define it automatically.  */
-#ifndef mips
-#      define mips
-#endif
-
 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
    the 24-bit bit field into an int.  In other words, if bit fields
    are always unsigned.
@@ -52,21 +46,6 @@ NOTE-END  */
 
 #define EXPLICIT_SIGN_EXTEND
 
-/* Data type of load average, as read out of kmem.  */
-
-#define LOAD_AVE_TYPE long
-
-/* Convert that into an integer that is 100 for a load average of 1.0  */
-
-#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
-
-/* Define NO_REMAP if memory segmentation makes it not work well
-   to change the boundary between the text section and data section
-   when Emacs is dumped.  If you define this, the preloaded Lisp
-   code will not be sharable; but that's better than failing completely.  */
-
-#define NO_REMAP
-
 /* Describe layout of the address space in an executing process.  */
 
 #define TEXT_START      0x00400000
index b19ed3847543b607908c85962157c51906ff7b0d..b4dda533936127881595e16a980df31a0974a88b 100644 (file)
@@ -1360,7 +1360,7 @@ init_sys_modes (tty_out)
                                           of C-z */
 #endif /* VSWTCH */
   
-#if defined (mips) || defined (HAVE_TCATTR)
+#if defined (__mips__) || defined (HAVE_TCATTR)
 #ifdef VSUSP
   tty.main.c_cc[VSUSP] = CDISABLE;     /* Turn off mips handling of C-z.  */
 #endif /* VSUSP */