| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: ALSA on MIPS platform |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Tue, 7 Aug 2007 18:54:02 +0100 |
| Cc: | jiankemeng@gmail.com, tiansm@lemote.com, linux-mips@linux-mips.org, alsa-devel@alsa-project.org, tiwai@suse.de, greg@kroah.com |
| In-reply-to: | <20070807.230157.59463765.anemo@mba.ocn.ne.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <46B332AC.8020403@lemote.com> <5861a7880708062253x7133659cm1ff17f451e4f82f8@mail.gmail.com> <5861a7880708062317t21970c81w3f16580858bf50af@mail.gmail.com> <20070807.230157.59463765.anemo@mba.ocn.ne.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.14 (2007-02-12) |
On Tue, Aug 07, 2007 at 11:01:57PM +0900, Atsushi Nemoto wrote:
> On Tue, 7 Aug 2007 10:18:04 +0400, "Dajie Tan" <jiankemeng@gmail.com> wrote:
> > static inline unsigned long virt_to_phys(volatile const void *address)
> > {
> > - return (unsigned long)address - PAGE_OFFSET + PHYS_OFFSET;
> > + return ((unsigned long)address & 0x1fffffff) + PHYS_OFFSET;
> > }
>
> This makes virt_to_phys() a bit slower, and more importantly, breaks
> 64-bit kernel.
It's ALSA that is doing funny things here so there is no point in fixing
the arch code to work for ALSA.
Ralf
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ELF to S-Record convertor, Mohamed Bamakhrama |
|---|---|
| Next by Date: | Re: ALSA on MIPS platform, Takashi Iwai |
| Previous by Thread: | Re: ALSA on MIPS platform, Atsushi Nemoto |
| Next by Thread: | Re: ALSA on MIPS platform, Takashi Iwai |
| Indexes: | [Date] [Thread] [Top] [All Lists] |