[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081105174234.GA10223@suse.de>
Date: Wed, 5 Nov 2008 09:42:34 -0800
From: Greg KH <gregkh@...e.de>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: "Hans J. Koch" <hjk@...utronix.de>,
Mike Frysinger <vapier@...too.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] UIO: only call pgprot_noncached if defined
On Wed, Nov 05, 2008 at 12:33:37PM -0500, Mike Frysinger wrote:
> On Wed, Nov 5, 2008 at 11:33, Greg KH wrote:
> > On Wed, Nov 05, 2008 at 12:36:11PM +0100, Hans J. Koch wrote:
> >> There seem to be archs that cannot easily implement a sensible
> >> pgprot_noncached() function, so we should merge this patch. UIO doesn't
> >> compile on these archs right now.
> >
> > No, we should fix those arches to have that function at least NULLed
> > out. Isn't there only one, Blackfin? Putting #ifdefs in .c files is
> > not something we really want to do if at all possible.
>
> that was my question. this function isnt documented. if the hardware
> doesnt support it, is the right thing really for the arch to lie to
> drivers and not actually give back cached settings even though it
> asked for non-cached ?
Probably not, it sounds like the arch needs to be fixed :)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists