maltalinux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: malta

To: maltalinux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: malta
From: beth@linux-mips.org
Date: Fri, 10 Jun 2005 10:56:16 +0100
Reply-to: linux-mips@linux-mips.org
Sender: maltalinux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    malta
Changes by:     beth@ftp.linux-mips.org 05/06/10 10:56:15

Modified files:
        linux/include/asm-mips: Tag: MaltaRef_2_6 mipsmtregs.h 

Log message:
        * include/asm-mips/mipsmtregs.h: Managed to loose some nicely formated
        backslashes. Fixed.

diff -urN malta/linux/include/asm-mips/mipsmtregs.h 
malta/linux/include/asm-mips/mipsmtregs.h
--- malta/linux/include/asm-mips/Attic/mipsmtregs.h     2005/06/10 09:45:00     
1.1.2.1
+++ malta/linux/include/asm-mips/Attic/mipsmtregs.h     2005/06/10 09:56:15     
1.1.2.2
@@ -268,38 +268,38 @@
     __res;                                                     \
   })
 
-#define mftgpr(rt)
-({ unsigned long __res;                             \
-  __asm__ __volatile__(                           \
-                      ".set noat\n\t"                             \
-                      "mftgpr\t%0," #rt "\n\t"                    \
-                      ".set at\n\t"                               \
-                      : "=r" (__res));                            \
-  __res;                                      \
+#define mftgpr(rt)                             \
+({ unsigned long __res;                                \
+  __asm__ __volatile__(                                \
+                      ".set noat\n\t"          \
+                      "mftgpr\t%0," #rt "\n\t" \
+                      ".set at\n\t"            \
+                      : "=r" (__res));         \
+  __res;                                       \
  })
 
-#define mftr(rt,u,sel)
-  ({ unsigned long __res;                             \
-    __asm__ __volatile__(                           \
-                        ".set noat\n\t"                             \
-                        "mftr\t%0, " #rt ", " #u ", " #sel "\n\t"   \
-                        ".set at\n\t"                               \
-                        : "=r" (__res));                            \
-    __res;                                      \
+#define mftr(rt,u,sel)                                                 \
+  ({ unsigned long __res;                                              \
+    __asm__ __volatile__(                                              \
+                        ".set noat\n\t"                                \
+                        "mftr\t%0, " #rt ", " #u ", " #sel "\n\t"      \
+                        ".set at\n\t"                                  \
+                        : "=r" (__res));                               \
+    __res;                                                             \
   })
 
 #define mttgpr(rd,v)                                   \
   ({                                                   \
     __asm__ __volatile__(                              \
                         "mttgpr\t %0," #rd "\n\t"      \
-                        : : "r" (v));
+                        : : "r" (v));                  \
   })
 
 #define mttc0(rd,sel,v)                                                \
   ({                                                           \
     __asm__ __volatile__(                                      \
                         "mttc0\t %0," #rd ", " #sel "\n\t"     \
-                        : : "r" (v));
+                        : : "r" (v));                          \
   })
 
 
@@ -307,7 +307,7 @@
   ({                                                                   \
     __asm__ __volatile__(                                              \
                         "mttr\t %0," #rd ", " #u ", " #sel "\n\t"      \
-                        : : "r" (v));
+                        : : "r" (v));                                  \
   })
 
 

<Prev in Thread] Current Thread [Next in Thread>