[parisc-linux-cvs] fix asm bit twiddling for 64 bit ccio-dma.c

Richard Hirst rhirst@linuxcare.com
Thu, 4 Oct 2001 16:12:05 +0100


EXTRAVERSION = -pa36
 
Index: arch/parisc/kernel/ccio-dma.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/ccio-dma.c,v
retrieving revision 1.40
diff -u -r1.40 ccio-dma.c
--- ccio-dma.c  2001/09/21 23:45:54     1.40
+++ ccio-dma.c  2001/10/04 15:05:32
@@ -488,7 +488,7 @@
        ** and deposit them
        */
        asm volatile ("extrd,u %1,15,4,%0" : "=r" (ci) : "r" (pa));
-       asm volatile ("extrd,u %1,31,16,%0" : "+r" (ci) : "r" (ci));
+       asm volatile ("extrd,u %1,31,16,%0" : "+r" (pa) : "r" (pa));
        asm volatile ("depd  %1,35,4,%0" : "+r" (pa) : "r" (ci));
 #else
        pa = 0;