From: Jan-Bernd Themann <ossthema@de.ibm.com>
To: Anton Blanchard <anton@samba.org>
Cc: Thomas Klein <tklein@de.ibm.com>, Jeff Garzik <jeff@garzik.org>,
Jan-Bernd Themann <themann@de.ibm.com>,
netdev <netdev@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-ppc <linuxppc-dev@ozlabs.org>,
Christoph Raisch <raisch@de.ibm.com>,
Marcus Eder <meder@de.ibm.com>
Subject: Re: [PATCH 2.6.19-rc3 2/2] ehea: 64K page support fix
Date: Thu, 26 Oct 2006 15:00:20 +0200 [thread overview]
Message-ID: <200610261500.20898.ossthema@de.ibm.com> (raw)
In-Reply-To: <20061025162126.GB25324@krispykreme>
Hi,
that is right, I'll send a new patch
Thanks,
Jan-Bernd
On Wednesday 25 October 2006 18:21, Anton Blanchard wrote:
>
> Hi,
>
> > +#ifdef CONFIG_PPC_64K_PAGES
> > + /* To support 64k pages we must round to 64k page boundary */
> > + epas->kernel.addr =
> > + ioremap((paddr_kernel & 0xFFFFFFFFFFFF0000), PAGE_SIZE) +
> > + (paddr_kernel & 0xFFFF);
> > +#else
> > epas->kernel.addr = ioremap(paddr_kernel, PAGE_SIZE);
> > +#endif
>
> Cant you just use PAGE_MASK, ~PAGE_MASK and remove the ifdefs
> completely?
>
> Anton
>
prev parent reply other threads:[~2006-10-26 13:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 11:12 [PATCH 2.6.19-rc3 2/2] ehea: 64K page support fix Jan-Bernd Themann
2006-10-25 16:21 ` Anton Blanchard
2006-10-26 13:00 ` Jan-Bernd Themann [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=200610261500.20898.ossthema@de.ibm.com \
--to=ossthema@de.ibm.com \
--cc=anton@samba.org \
--cc=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=meder@de.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=raisch@de.ibm.com \
--cc=themann@de.ibm.com \
--cc=tklein@de.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;
as well as URLs for NNTP newsgroup(s).