On Thu, Feb 06, 2014 at 05:40:51PM +0100, Uwe Kleine-König wrote: > From: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> This was added by mistake. Sascha, can you please drop it and use my pengutronix.de address instead. Ditto for the S-o-b line and patch 7 in this series. Thanks Uwe > This is needed for nfs3 support as some types became bigger compared to > nfs2. > > Signed-off-by: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> > --- > include/net.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/include/net.h b/include/net.h > index 8388e2f12ebe..6c86947d9ca3 100644 > --- a/include/net.h > +++ b/include/net.h > @@ -276,6 +276,13 @@ static inline uint32_t net_read_uint32(void *from) > return tmp; > } > > +static inline uint64_t net_read_uint64(void *from) > +{ > + uint64_t tmp; > + memcpy(&tmp, from, sizeof(tmp)); > + return tmp; > +} > + > /* write IP *in network byteorder* */ > static inline void net_write_ip(void *to, IPaddr_t ip) > { > -- > 1.8.5.2 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox