* [PATCH] net dst: need linux/cache.h for ____cacheline_aligned_in_smp.
@ 2010-11-08 3:51 Paul Mundt
2010-11-08 3:58 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2010-11-08 3:51 UTC (permalink / raw)
To: David Miller; +Cc: John W. Linville, netdev
Presently the b43legacy build fails on an sh randconfig:
In file included from include/net/dst.h:12,
from drivers/net/wireless/b43legacy/xmit.c:32:
include/net/dst_ops.h:28: error: expected ':', ',', ';', '}' or '__attribute__' before '____cacheline_aligned_in_smp'
include/net/dst_ops.h: In function 'dst_entries_get_fast':
include/net/dst_ops.h:33: error: 'struct dst_ops' has no member named 'pcpuc_entries'
include/net/dst_ops.h: In function 'dst_entries_get_slow':
include/net/dst_ops.h:41: error: 'struct dst_ops' has no member named 'pcpuc_entries'
include/net/dst_ops.h: In function 'dst_entries_add':
include/net/dst_ops.h:49: error: 'struct dst_ops' has no member named 'pcpuc_entries'
include/net/dst_ops.h: In function 'dst_entries_init':
include/net/dst_ops.h:55: error: 'struct dst_ops' has no member named 'pcpuc_entries'
include/net/dst_ops.h: In function 'dst_entries_destroy':
include/net/dst_ops.h:60: error: 'struct dst_ops' has no member named 'pcpuc_entries'
make[5]: *** [drivers/net/wireless/b43legacy/xmit.o] Error 1
make[5]: *** Waiting for unfinished jobs....
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
include/net/dst_ops.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h
index 1fa5306..51665b3 100644
--- a/include/net/dst_ops.h
+++ b/include/net/dst_ops.h
@@ -2,6 +2,7 @@
#define _NET_DST_OPS_H
#include <linux/types.h>
#include <linux/percpu_counter.h>
+#include <linux/cache.h>
struct dst_entry;
struct kmem_cachep;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net dst: need linux/cache.h for ____cacheline_aligned_in_smp.
2010-11-08 3:51 [PATCH] net dst: need linux/cache.h for ____cacheline_aligned_in_smp Paul Mundt
@ 2010-11-08 3:58 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-11-08 3:58 UTC (permalink / raw)
To: lethal; +Cc: linville, netdev
From: Paul Mundt <lethal@linux-sh.org>
Date: Mon, 8 Nov 2010 12:51:30 +0900
> Presently the b43legacy build fails on an sh randconfig:
...
> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Applied, thanks Paul.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-08 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 3:51 [PATCH] net dst: need linux/cache.h for ____cacheline_aligned_in_smp Paul Mundt
2010-11-08 3:58 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).