public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [SPARC64]: More SG build fixes
Date: Wed, 24 Oct 2007 08:47:09 +0200	[thread overview]
Message-ID: <20071024064708.GU14671@kernel.dk> (raw)
In-Reply-To: <20071023.223756.34760847.davem@davemloft.net>

On Tue, Oct 23 2007, David Miller wrote:
> 
> 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;
> diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
> index 7276f7d..fac4c6c 100644
> --- a/drivers/block/sunvdc.c
> +++ b/drivers/block/sunvdc.c
> @@ -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

-- 
Jens Axboe


      reply	other threads:[~2007-10-24  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  5:37 [SPARC64]: More SG build fixes David Miller
2007-10-24  6:47 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071024064708.GU14671@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox