From: Andi Kleen <ak@muc.de>
To: Vivek Goyal <vgoyal@in.ibm.com>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Morton Andrew Morton <akpm@osdl.org>,
len.brown@intel.com
Subject: Re: [PATCH] x86_64: acpi map table fix
Date: 8 Dec 2005 09:37:09 +0100
Date: Thu, 8 Dec 2005 09:37:09 +0100 [thread overview]
Message-ID: <20051208083709.GA87750@muc.de> (raw)
In-Reply-To: <20051208041509.GA4841@in.ibm.com>
On Thu, Dec 08, 2005 at 09:45:09AM +0530, Vivek Goyal wrote:
>
>
> o Memory till end_pfn_map has been directly mapped. So all the memory
> references to the last page (represented by end_pfn_map) should be
> valid.
>
I think the correct test is
if (phys_addr+size <= (end_pfn_map << PAGE_SHIFT) + PAGE_SIZE)
return __va(phys_addr);
I changed it to that. Thanks.
-Andi
prev parent reply other threads:[~2005-12-08 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 4:15 [PATCH] x86_64: acpi map table fix Vivek Goyal
2005-12-08 8:37 ` Andi Kleen [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=20051208083709.GA87750@muc.de \
--to=ak@muc.de \
--cc=akpm@osdl.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vgoyal@in.ibm.com \
/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