patch-2.4.11-dontuse linux/include/asm-cris/current.h

Next file: linux/include/asm-cris/delay.h
Previous file: linux/include/asm-cris/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/include/asm-cris/current.h linux/include/asm-cris/current.h
@@ -6,7 +6,7 @@
 static inline struct task_struct * get_current(void)
 {
         struct task_struct *current;
-        __asm__("and.d sp,%0; ":"=r" (current) : "0" (~8191UL));
+        __asm__("and.d $sp,%0; ":"=r" (current) : "0" (~8191UL));
         return current;
  }
  

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)