Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

From: David Miller
Date: Mon Apr 09 2007 - 14:43:49 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Mon, 09 Apr 2007 09:55:23 -0700 (PDT)

> From: "Wu, Bryan" <bryan.wu@xxxxxxxxxx>
> Date: Mon, 09 Apr 2007 17:50:22 +0800
>
> > On Mon, 2007-04-09 at 11:01 +0800, Aubrey Li wrote:
> > > The option CONFIG_PACKET_MMAP should depend on MMU.
> > >
> > > Signed-off-by: Aubrey.Li <aubreylee@xxxxxxxxx>
> > > ---
> > > net/packet/Kconfig | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> > > diff --git a/net/packet/Kconfig b/net/packet/Kconfig
> > > index 34ff93f..959c272 100644
> > > --- a/net/packet/Kconfig
> > > +++ b/net/packet/Kconfig
> > > @@ -17,7 +17,7 @@ config PACKET
> > >
> > > config PACKET_MMAP
> > > bool "Packet socket: mmapped IO"
> > > - depends on PACKET
> > > + depends on PACKET && MMU
> > > help
> > > If you say Y here, the Packet protocol driver will use an IO
> > > mechanism that results in faster communication.
> >
> > Yeah, this is a bug found on blackfin arch and it is also for other
> > NOMMU arch. Is there any solution for this? We think Aubrey's idea
> > works.
>
> I will apply this patch.

Actually I won't, the other comments in this thread make a lot
of sense, we should try to make it build and work just as we
do for other similar things on no-MMU.
-
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/