Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d91c5e88 authored by David Miller's avatar David Miller Committed by Jens Axboe
Browse files

More SG build fixes

parent de58d942
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/scatterlist.h>

#include <asm/vio.h>
#include <asm/ldc.h>