: More SG build fixes
arch/sparc64/kernel/ldc.c +1 -1
@@ -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;
drivers/block/sunvdc.c +1 -0
@@ -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>
Quoted 19 lines · David Miller
arch/sparc64/kernel/ldc.c +1
-1@@ -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;drivers/block/sunvdc.c +0
-0
drivers/block/sunvdc.c line 21
Quoted 7 lines
drivers/block/sunvdc.c +1
-0@@ -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>
added
Signature · 1 line
Jens Axboe