diff options
author | David Miller <davem@davemloft.net> | 2007-10-24 06:46:01 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-10-24 06:46:01 (GMT) |
commit | d91c5e8839791b27672277e81451873499bc517e (patch) | |
tree | e3218c3aa6809b56249856c6879bdf88c675b5a5 /arch | |
parent | de58d942924d431c1c2144ece35b0b9aceadaf2c (diff) | |
download | linux-fsl-qoriq-d91c5e8839791b27672277e81451873499bc517e.tar.xz |
More SG build fixes
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/ldc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/ldc.c b/arch/sparc64/kernel/ldc.c index c8313cb..217478a 100644 --- a/arch/sparc64/kernel/ldc.c +++ b/arch/sparc64/kernel/ldc.c @@ -2121,7 +2121,7 @@ int ldc_map_sg(struct ldc_channel *lp, state.nc = 0; for (i = 0; i < num_sg; i++) - fill_cookies(&state, page_to_pfn(sg[i].page) << PAGE_SHIFT, + fill_cookies(&state, page_to_pfn(sg_page(&sg[i])) << PAGE_SHIFT, sg[i].offset, sg[i].length); return state.nc; |