From: Sarah Sharp Date: Thu, 30 Apr 2009 02:05:58 +0000 (-0700) Subject: USB: xhci: Avoid compiler reordering in Link TRB giveback. X-Git-Tag: v2.6.31-rc1~304^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7116ebca4e1a898f30ae474151fd6474327257c;p=pandora-kernel.git USB: xhci: Avoid compiler reordering in Link TRB giveback. Force the compiler to write the cycle bit of the Link TRB last. This ensures that the hardware doesn't think it owns the Link TRB before we set the chain bit. Reported by Oliver in this thread: http://marc.info/?l=linux-usb&m=124091532410219&w=2 Reported-by: Oliver Neukum Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed