commit | 58b053e4ce9d2fc3023645c1b96e537c72aa8d9a | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 20:02:46 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 21:19:59 2007 +0200 |
tree | 35fbd72eb62a37375bc06c01e356afd7da0c9693 | |
parent | f9527f121bd42c5d300815fbf12216bc1a63f60f [diff] [blame] |
Update arch/ to use sg helpers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/arch/sparc64/kernel/ldc.c b/arch/sparc64/kernel/ldc.c index 85a2be0..c8313cb 100644 --- a/arch/sparc64/kernel/ldc.c +++ b/arch/sparc64/kernel/ldc.c
@@ -2057,7 +2057,7 @@ static int sg_count_one(struct scatterlist *sg) { - unsigned long base = page_to_pfn(sg->page) << PAGE_SHIFT; + unsigned long base = page_to_pfn(sg_page(sg)) << PAGE_SHIFT; long len = sg->length; if ((sg->offset | len) & (8UL - 1))