The patch number 8226 was added via Thierry MERLE <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Gregor Jasny  <[EMAIL PROTECTED]>
v4l2-library: libv4l-fix-idct-inline-assembly


This patch fixes the input constraint for the sar instruction. It allows only an
immediate or cl as shift width.

Signed-off-by: Gregor Jasny <[EMAIL PROTECTED]>
Signed-off-by: Thierry MERLE <[EMAIL PROTECTED]>


---

 v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 73a30daa482a -r 660e9b799e4b 
v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c
--- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c     Fri Jul 04 19:30:13 
2008 +0200
+++ b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c     Fri Jul 04 19:31:43 
2008 +0200
@@ -92,7 +92,7 @@ static inline unsigned char descale_and_
       "\tcmpl %4,%1\n"
       "\tcmovg %4,%1\n"
       : "=r"(x)
-      : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
+      : "0"(x), "Ic"((unsigned char)shift), "ir"(1UL<<(shift-1)), "r" (0xff), 
"r" (0)
       );
   return x;
 }


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/660e9b799e4b418c158c8ca3b78deabd7345a549

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to