patch-2.4.2 linux/include/asm-s390/current.h

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

diff -u --recursive --new-file v2.4.1/linux/include/asm-s390/current.h linux/include/asm-s390/current.h
@@ -20,7 +20,7 @@
         struct task_struct *current;
         __asm__("lhi   %0,-8192\n\t"
                 "nr    %0,15"
-                : "=r" (current) );
+                : "=&r" (current) );
         return current;
  }
 

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