[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090611.024100.233245804.davem@davemloft.net>
Date: Thu, 11 Jun 2009 02:41:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: acme@...hat.com
Cc: netdev@...r.kernel.org, vanhoof@...hat.com, williams@...hat.com,
caitlin.bestler@...il.com, paul.moore@...com, steve@...gwyn.com,
remi.denis-courmont@...ia.com, nhorman@...driver.com,
niv@...ibm.com
Subject: Re: [RFC v2] net: Introduce recvmmsg socket syscall
From: Arnaldo Carvalho de Melo <acme@...hat.com>
Date: Thu, 11 Jun 2009 00:40:22 -0300
> + struct compat_timespec *timeout_compat =
> + (struct compat_timespec *)timeout;
In order for this to build on non-compat platforms, or when
CONFIG_COMPAT is disabled, you'll need to avoid trying to
reference compat_timespec.
We get away with compat_msghdr because we define it as a NOP
in net/compat.h when necessary.
Doing the same, and cleanly, with this non-networking compat knob is
unlikely to be straightforward.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists