net dst: need linux/cache.h for ____cacheline_aligned_in_smp.
Subsystems (2)
PATCH 1/1 net dst: need linux/cache.h for ____cacheline_aligned_in_smp.
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....
---
include/net/dst_ops.h | 1 + 1 file changed, 1 insertion(+)
include/net/dst_ops.h +1 -0
@@ -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 ;
From: Paul Mundt <[email protected]>
Date: Mon, 8 Nov 2010 12:51:30 +0900
Quoted 1 line
Presently the b43legacy build fails on an sh randconfig:
...
Quoted 1 line
Signed-off-by Paul Mundt <[email protected]>
Applied, thanks Paul.