Re: [PATCH v2] [POWERPC] devres: Add devm_ioremap_flags()

From: Kumar Gala
Date: Wed Apr 30 2008 - 17:50:44 EST



On Apr 30, 2008, at 4:42 PM, Benjamin Herrenschmidt wrote:

On Wed, 2008-04-30 at 11:08 -0500, Kumar Gala wrote:
From: Emil Medve <Emilian.Medve@xxxxxxxxxxxxx>

We provide an ioremap_flags so provide a coresphonding devm_ioremap_flags.

Signed-off-by: Emil Medve <Emilian.Medve@xxxxxxxxxxxxx>
Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
---

Forgot to commit the actual implemtation in arch/powerpc/lib/devres.c

Which tree should this go through, powerpc.git?

Let's call it ioremap_prot instead please. I'm about to change
ioremap_flags to ioremap_prot anyways. Keep the flags/prot argument
unsigned long for now (it can be argued it should be a pgprot but that
hasn't been sorted out completely).

No problem. I've always wondered why ioremap_* aren't better specified by generic code.

- k

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/