]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/freescale/gianfar.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / drivers / net / ethernet / freescale / gianfar.c
index 08c0415483002e27a2c3a7584fccb412fd5085f7..d2f917af539f35b8f994507c5c3758944b1d9d0d 100644 (file)
@@ -2940,7 +2940,7 @@ static bool gfar_add_rx_frag(struct gfar_rx_buff *rxb, u32 lstatus,
        /* change offset to the other half */
        rxb->page_offset ^= GFAR_RXB_TRUESIZE;
 
-       atomic_inc(&page->_count);
+       page_ref_inc(page);
 
        return true;
 }