[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071126152305.GD14520@ghostprotocols.net>
Date: Mon, 26 Nov 2007 13:23:05 -0200
From: "Arnaldo Carvalho de Melo" <acme@...hat.com>
To: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-2.6.25] Fix pcounter build error without CONFIG_SMP
Em Mon, Nov 26, 2007 at 04:35:38PM +0200, Ilpo Järvinen escreveu:
>
> I keep getting this build error and couldn't find anyone fixing
> it in archives. ...Maybe all net developers except me build
> just SMP kernels :-).
Thank you! UP is for sissies anyway :-P
Acked-by: Arnaldo Carvalho de Melo <acme@...hat.com>
> In file included from include/net/sock.h:50,
> from ipc/mqueue.c:35:
> include/linux/pcounter.h: In function 'pcounter_add':
> include/linux/pcounter.h:87: error: 'struct pcounter' has no
> member named 'value'
> make[1]: *** [ipc/mqueue.o] Error 1
> make: *** [ipc] Error 2
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
> ---
> include/linux/pcounter.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/pcounter.h b/include/linux/pcounter.h
> index 620aade..9c4760a 100644
> --- a/include/linux/pcounter.h
> +++ b/include/linux/pcounter.h
> @@ -84,7 +84,7 @@ static inline int pcounter_getval(const struct pcounter *self)
>
> static inline void pcounter_add(struct pcounter *self, int inc)
> {
> - self->value += inc;
> + self->val += inc;
> }
>
> static inline int pcounter_getval(const struct pcounter *self)
> --
> 1.5.0.6
-
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