X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fdigest.c;h=6fd43bddd545e788546d868b097e3ad811867e76;hb=23976728a48c3b76d34e17ead19addd52b3a280e;hp=e56de6748b155eadf0f749c801e911a9a2d23577;hpb=ab83407e9ee35a4972457aa487be6a7a21afd715;p=linux-2.6-omap-h63xx.git diff --git a/crypto/digest.c b/crypto/digest.c index e56de6748b1..6fd43bddd54 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -12,6 +12,7 @@ * */ +#include #include #include #include @@ -20,9 +21,6 @@ #include #include -#include "internal.h" -#include "scatterwalk.h" - static int init(struct hash_desc *desc) { struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); @@ -41,7 +39,7 @@ static int update2(struct hash_desc *desc, return 0; for (;;) { - struct page *pg = sg->page; + struct page *pg = sg_page(sg); unsigned int offset = sg->offset; unsigned int l = sg->length;