[PCOUNTER] Fix build error without CONFIG_SMP
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Mon, 26 Nov 2007 15:34:54 +0000 (23:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:50 +0000 (14:54 -0800)
commite7d0362dd41e760f340c1b500646cc92522bd9d5
treed3535fd6d181c90fb027f90c43e0db04ec7dd8c4
parentf1267347353b586e1a89a7d02c142be975bae699
[PCOUNTER] Fix build error without CONFIG_SMP

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 :-).

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@helsinki.fi>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pcounter.h