more gcc3.4 inline fixes [1/10]
PATCH 1/1 more gcc3.4 inline fixes [1/10]
drivers/block/cpqarray.c renamed from drivers/block/cpqarray.c~ +14 -13
@@ -960,6 +960,20 @@return c; } +static inline void complete_buffers (struct buffer_head *bh,int ok) +{ +struct buffer_head *xbh; +while (bh) { + xbh = bh->b_reqnext; + bh->b_reqnext =NULL ; + +blk_finished_io (bh->b_size >>9 ); + bh->b_end_io (bh, ok); + + bh = xbh; + } +} +/* * Get a request and submit it to the controller. * This routine needs to grab all the requests it possibly can from the
@@ -1094,19 +1108,6 @@ } } -static inline void complete_buffers (struct buffer_head *bh,int ok) -{ -struct buffer_head *xbh; -while (bh) { - xbh = bh->b_reqnext; - bh->b_reqnext =NULL ; - -blk_finished_io (bh->b_size >>9 ); - bh->b_end_io (bh, ok); - - bh = xbh; - } -}/* * Mark all buffers that cmd was responsible for */
drivers/block/cciss.c renamed from drivers/block/cciss.c~ +30 -29
77 lines not on this page · raw message