mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-24 12:40:24 +00:00
More SG build fixes
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
This commit is contained in:
parent
de58d94292
commit
d91c5e8839
@ -2121,7 +2121,7 @@ int ldc_map_sg(struct ldc_channel *lp,
|
|||||||
state.nc = 0;
|
state.nc = 0;
|
||||||
|
|
||||||
for (i = 0; i < num_sg; i++)
|
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);
|
sg[i].offset, sg[i].length);
|
||||||
|
|
||||||
return state.nc;
|
return state.nc;
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
#include <linux/scatterlist.h>
|
||||||
|
|
||||||
#include <asm/vio.h>
|
#include <asm/vio.h>
|
||||||
#include <asm/ldc.h>
|
#include <asm/ldc.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user